HSL(231, 72%, 47%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(231,72%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(231, 72%, 47%) | color: hsl(231, 72%, 47%) | |
| HEX | #223BCE | color: #223BCE | |
| RGB | rgb(34, 59, 206) | color: rgb(34, 59, 206) | |
| CMYK | cmyk(83%, 71%, 0%, 19%) | — | |
| HSV | hsv(231, 83%, 81%) | — | |
| HWB | hwb(231 14% 19%) | color: hwb(231 14% 19%) | |
| OKLCH | oklch(0.4479 0.2244 267.34) | color: oklch(0.4479 0.2244 267.34) | |
| Lab | lab(33.82 45.23 -77.34) | color: lab(33.82 45.23 -77.34) | |
| LCH | lch(33.82 89.59 300.32) | color: lch(33.82 89.59 300.32) |
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)
#2D2DAA — rgb(45, 45, 170)
Deuteranopia (Green-blind)
#2B2AA2 — rgb(43, 42, 162)
Tritanopia (Blue-blind)
#238E88 — rgb(35, 142, 136)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(231, 72%, 47%);
text
color: hsl(231, 72%, 47%);
border
border: 2px solid hsl(231, 72%, 47%);
gradient light
background: linear-gradient(to right, hsl(231, 72%, 67%), hsl(231, 72%, 47%));
gradient dark
background: linear-gradient(to right, hsl(231, 72%, 47%), hsl(231, 72%, 27%))
hex
background-color: #223BCE;
tailwind
bg-[hsl(231,72%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(231, 72%, 47%, 0.4);
css variable
--color-primary: hsl(231, 72%, 47%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(231, 72%, 47%)?
HEX: #223BCE | RGB: rgb(34, 59, 206) | CMYK: 83%, 71%, 0%, 19% | HSV: 231°, 83%, 81%. Copy any format from the conversion table above.
What colors go well with #223BCE?
The complementary color is HSL(51, 72%, 47%). For a triadic harmony, use hues 231°, 351°, and 111°. For analogous combinations, try hues 201° and 261°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(231, 72%, 47%) in CSS?
As HSL: color: hsl(231, 72%, 47%); — As HEX: color: #223BCE; — As RGB: color: rgb(34, 59, 206); — Tailwind CSS: bg-[hsl(231,72%,47%)] — CSS variable: --color-primary: hsl(231, 72%, 47%);