HSL(230, 43%, 30%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,43%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 43%, 30%) | color: hsl(230, 43%, 30%) | |
| HEX | #2C376D | color: #2C376D | |
| RGB | rgb(44, 55, 109) | color: rgb(44, 55, 109) | |
| CMYK | cmyk(60%, 50%, 0%, 57%) | — | |
| HSV | hsv(230, 60%, 43%) | — | |
| HWB | hwb(230 17% 57%) | color: hwb(230 17% 57%) | |
| OKLCH | oklch(0.3572 0.094 272.18) | color: oklch(0.3572 0.094 272.18) | |
| Lab | lab(24.86 13.24 -32.92) | color: lab(24.86 13.24 -32.92) | |
| LCH | lch(24.86 35.48 291.91) | color: lch(24.86 35.48 291.91) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: white
Color Blindness Simulation
Protanopia (Red-blind)
#313160 — rgb(49, 49, 96)
Deuteranopia (Green-blind)
#302F5D — rgb(48, 47, 93)
Tritanopia (Blue-blind)
#2D5653 — rgb(45, 86, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 43%, 30%);
text
color: hsl(230, 43%, 30%);
border
border: 2px solid hsl(230, 43%, 30%);
gradient light
background: linear-gradient(to right, hsl(230, 43%, 50%), hsl(230, 43%, 30%));
gradient dark
background: linear-gradient(to right, hsl(230, 43%, 30%), hsl(230, 43%, 10%))
hex
background-color: #2C376D;
tailwind
bg-[hsl(230,43%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 43%, 30%, 0.4);
css variable
--color-primary: hsl(230, 43%, 30%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 43%, 30%)?
HEX: #2C376D | RGB: rgb(44, 55, 109) | CMYK: 60%, 50%, 0%, 57% | HSV: 230°, 60%, 43%. Copy any format from the conversion table above.
What colors go well with #2C376D?
The complementary color is HSL(50, 43%, 30%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 43%, 30%) in CSS?
As HSL: color: hsl(230, 43%, 30%); — As HEX: color: #2C376D; — As RGB: color: rgb(44, 55, 109); — Tailwind CSS: bg-[hsl(230,43%,30%)] — CSS variable: --color-primary: hsl(230, 43%, 30%);