HSL(230, 46%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,46%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 46%, 37%) | color: hsl(230, 46%, 37%) | |
| HEX | #33418A | color: #33418A | |
| RGB | rgb(51, 65, 138) | color: rgb(51, 65, 138) | |
| CMYK | cmyk(63%, 53%, 0%, 46%) | — | |
| HSV | hsv(230, 63%, 54%) | — | |
| HWB | hwb(230 20% 46%) | color: hwb(230 20% 46%) | |
| OKLCH | oklch(0.4053 0.122 271.74) | color: oklch(0.4053 0.122 271.74) | |
| Lab | lab(30.2 18.52 -42.56) | color: lab(30.2 18.52 -42.56) | |
| LCH | lch(30.2 46.41 293.52) | color: lch(30.2 46.41 293.52) |
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)
#393978 — rgb(57, 57, 120)
Deuteranopia (Green-blind)
#383774 — rgb(56, 55, 116)
Tritanopia (Blue-blind)
#346A67 — rgb(52, 106, 103)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 46%, 37%);
text
color: hsl(230, 46%, 37%);
border
border: 2px solid hsl(230, 46%, 37%);
gradient light
background: linear-gradient(to right, hsl(230, 46%, 57%), hsl(230, 46%, 37%));
gradient dark
background: linear-gradient(to right, hsl(230, 46%, 37%), hsl(230, 46%, 17%))
hex
background-color: #33418A;
tailwind
bg-[hsl(230,46%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 46%, 37%, 0.4);
css variable
--color-primary: hsl(230, 46%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 46%, 37%)?
HEX: #33418A | RGB: rgb(51, 65, 138) | CMYK: 63%, 53%, 0%, 46% | HSV: 230°, 63%, 54%. Copy any format from the conversion table above.
What colors go well with #33418A?
The complementary color is HSL(50, 46%, 37%). 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, 46%, 37%) in CSS?
As HSL: color: hsl(230, 46%, 37%); — As HEX: color: #33418A; — As RGB: color: rgb(51, 65, 138); — Tailwind CSS: bg-[hsl(230,46%,37%)] — CSS variable: --color-primary: hsl(230, 46%, 37%);