HSL(230, 53%, 36%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,53%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 53%, 36%) | color: hsl(230, 53%, 36%) | |
| HEX | #2B3B8C | color: #2B3B8C | |
| RGB | rgb(43, 59, 140) | color: rgb(43, 59, 140) | |
| CMYK | cmyk(69%, 58%, 0%, 45%) | — | |
| HSV | hsv(230, 69%, 55%) | — | |
| HWB | hwb(230 17% 45%) | color: hwb(230 17% 45%) | |
| OKLCH | oklch(0.3895 0.1354 270.41) | color: oklch(0.3895 0.1354 270.41) | |
| Lab | lab(28.21 21.92 -47.05) | color: lab(28.21 21.92 -47.05) | |
| LCH | lch(28.21 51.91 294.98) | color: lch(28.21 51.91 294.98) |
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)
#323278 — rgb(50, 50, 120)
Deuteranopia (Green-blind)
#313074 — rgb(49, 48, 116)
Tritanopia (Blue-blind)
#2C6966 — rgb(44, 105, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 53%, 36%);
text
color: hsl(230, 53%, 36%);
border
border: 2px solid hsl(230, 53%, 36%);
gradient light
background: linear-gradient(to right, hsl(230, 53%, 56%), hsl(230, 53%, 36%));
gradient dark
background: linear-gradient(to right, hsl(230, 53%, 36%), hsl(230, 53%, 16%))
hex
background-color: #2B3B8C;
tailwind
bg-[hsl(230,53%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 53%, 36%, 0.4);
css variable
--color-primary: hsl(230, 53%, 36%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 53%, 36%)?
HEX: #2B3B8C | RGB: rgb(43, 59, 140) | CMYK: 69%, 58%, 0%, 45% | HSV: 230°, 69%, 55%. Copy any format from the conversion table above.
What colors go well with #2B3B8C?
The complementary color is HSL(50, 53%, 36%). 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, 53%, 36%) in CSS?
As HSL: color: hsl(230, 53%, 36%); — As HEX: color: #2B3B8C; — As RGB: color: rgb(43, 59, 140); — Tailwind CSS: bg-[hsl(230,53%,36%)] — CSS variable: --color-primary: hsl(230, 53%, 36%);