HSL(230, 69%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,69%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 69%, 47%) | color: hsl(230, 69%, 47%) | |
| HEX | #2541CB | color: #2541CB | |
| RGB | rgb(37, 65, 203) | color: rgb(37, 65, 203) | |
| CMYK | cmyk(82%, 68%, 0%, 20%) | — | |
| HSV | hsv(230, 82%, 80%) | — | |
| HWB | hwb(230 14% 20%) | color: hwb(230 14% 20%) | |
| OKLCH | oklch(0.4556 0.2138 267.3) | color: oklch(0.4556 0.2138 267.3) | |
| Lab | lab(34.97 40.71 -73.7) | color: lab(34.97 40.71 -73.7) | |
| LCH | lch(34.97 84.2 298.92) | color: lch(34.97 84.2 298.92) |
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)
#3131AA — rgb(49, 49, 170)
Deuteranopia (Green-blind)
#302DA2 — rgb(48, 45, 162)
Tritanopia (Blue-blind)
#268F89 — rgb(38, 143, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 69%, 47%);
text
color: hsl(230, 69%, 47%);
border
border: 2px solid hsl(230, 69%, 47%);
gradient light
background: linear-gradient(to right, hsl(230, 69%, 67%), hsl(230, 69%, 47%));
gradient dark
background: linear-gradient(to right, hsl(230, 69%, 47%), hsl(230, 69%, 27%))
hex
background-color: #2541CB;
tailwind
bg-[hsl(230,69%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 69%, 47%, 0.4);
css variable
--color-primary: hsl(230, 69%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 69%, 47%)?
HEX: #2541CB | RGB: rgb(37, 65, 203) | CMYK: 82%, 68%, 0%, 20% | HSV: 230°, 82%, 80%. Copy any format from the conversion table above.
What colors go well with #2541CB?
The complementary color is HSL(50, 69%, 47%). 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, 69%, 47%) in CSS?
As HSL: color: hsl(230, 69%, 47%); — As HEX: color: #2541CB; — As RGB: color: rgb(37, 65, 203); — Tailwind CSS: bg-[hsl(230,69%,47%)] — CSS variable: --color-primary: hsl(230, 69%, 47%);