HSL(233, 77%, 22%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,77%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 77%, 22%) | color: hsl(233, 77%, 22%) | |
| HEX | #0D1763 | color: #0D1763 | |
| RGB | rgb(13, 23, 99) | color: rgb(13, 23, 99) | |
| CMYK | cmyk(87%, 77%, 0%, 61%) | — | |
| HSV | hsv(233, 87%, 39%) | — | |
| HWB | hwb(233 5% 61%) | color: hwb(233 5% 61%) | |
| OKLCH | oklch(0.263 0.1317 268.38) | color: oklch(0.263 0.1317 268.38) | |
| Lab | lab(13.22 27.04 -45.42) | color: lab(13.22 27.04 -45.42) | |
| LCH | lch(13.22 52.86 300.77) | color: lch(13.22 52.86 300.77) |
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)
#111151 — rgb(17, 17, 81)
Deuteranopia (Green-blind)
#11104C — rgb(17, 16, 76)
Tritanopia (Blue-blind)
#0E423F — rgb(14, 66, 63)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 77%, 22%);
text
color: hsl(233, 77%, 22%);
border
border: 2px solid hsl(233, 77%, 22%);
gradient light
background: linear-gradient(to right, hsl(233, 77%, 42%), hsl(233, 77%, 22%));
gradient dark
background: linear-gradient(to right, hsl(233, 77%, 22%), hsl(233, 77%, 2%))
hex
background-color: #0D1763;
tailwind
bg-[hsl(233,77%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 77%, 22%, 0.4);
css variable
--color-primary: hsl(233, 77%, 22%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 77%, 22%)?
HEX: #0D1763 | RGB: rgb(13, 23, 99) | CMYK: 87%, 77%, 0%, 61% | HSV: 233°, 87%, 39%. Copy any format from the conversion table above.
What colors go well with #0D1763?
The complementary color is HSL(53, 77%, 22%). 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, 77%, 22%) in CSS?
As HSL: color: hsl(233, 77%, 22%); — As HEX: color: #0D1763; — As RGB: color: rgb(13, 23, 99); — Tailwind CSS: bg-[hsl(233,77%,22%)] — CSS variable: --color-primary: hsl(233, 77%, 22%);