HSL(233, 48%, 37%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,48%,37%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 48%, 37%) | color: hsl(233, 48%, 37%) | |
| HEX | #313C8C | color: #313C8C | |
| RGB | rgb(49, 60, 140) | color: rgb(49, 60, 140) | |
| CMYK | cmyk(65%, 57%, 0%, 45%) | — | |
| HSV | hsv(233, 65%, 55%) | — | |
| HWB | hwb(233 19% 45%) | color: hwb(233 19% 45%) | |
| OKLCH | oklch(0.3952 0.1323 272.89) | color: oklch(0.3952 0.1323 272.89) | |
| Lab | lab(28.84 22.25 -45.99) | color: lab(28.84 22.25 -45.99) | |
| LCH | lch(28.84 51.09 295.82) | color: lch(28.84 51.09 295.82) |
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)
#363679 — rgb(54, 54, 121)
Deuteranopia (Green-blind)
#353474 — rgb(53, 52, 116)
Tritanopia (Blue-blind)
#326966 — rgb(50, 105, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 48%, 37%);
text
color: hsl(233, 48%, 37%);
border
border: 2px solid hsl(233, 48%, 37%);
gradient light
background: linear-gradient(to right, hsl(233, 48%, 57%), hsl(233, 48%, 37%));
gradient dark
background: linear-gradient(to right, hsl(233, 48%, 37%), hsl(233, 48%, 17%))
hex
background-color: #313C8C;
tailwind
bg-[hsl(233,48%,37%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 48%, 37%, 0.4);
css variable
--color-primary: hsl(233, 48%, 37%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 48%, 37%)?
HEX: #313C8C | RGB: rgb(49, 60, 140) | CMYK: 65%, 57%, 0%, 45% | HSV: 233°, 65%, 55%. Copy any format from the conversion table above.
What colors go well with #313C8C?
The complementary color is HSL(53, 48%, 37%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 48%, 37%) in CSS?
As HSL: color: hsl(233, 48%, 37%); — As HEX: color: #313C8C; — As RGB: color: rgb(49, 60, 140); — Tailwind CSS: bg-[hsl(233,48%,37%)] — CSS variable: --color-primary: hsl(233, 48%, 37%);