HSL(233, 73%, 35%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,73%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 73%, 35%) | color: hsl(233, 73%, 35%) | |
| HEX | #18279A | color: #18279A | |
| RGB | rgb(24, 39, 154) | color: rgb(24, 39, 154) | |
| CMYK | cmyk(84%, 75%, 0%, 40%) | — | |
| HSV | hsv(233, 84%, 60%) | — | |
| HWB | hwb(233 10% 40%) | color: hwb(233 10% 40%) | |
| OKLCH | oklch(0.3571 0.1835 268.02) | color: oklch(0.3571 0.1835 268.02) | |
| Lab | lab(23.6 38.24 -63.26) | color: lab(23.6 38.24 -63.26) | |
| LCH | lch(23.6 73.92 301.15) | color: lch(23.6 73.92 301.15) |
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)
#1E1F7E — rgb(30, 31, 126)
Deuteranopia (Green-blind)
#1E1D78 — rgb(30, 29, 120)
Tritanopia (Blue-blind)
#196863 — rgb(25, 104, 99)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 73%, 35%);
text
color: hsl(233, 73%, 35%);
border
border: 2px solid hsl(233, 73%, 35%);
gradient light
background: linear-gradient(to right, hsl(233, 73%, 55%), hsl(233, 73%, 35%));
gradient dark
background: linear-gradient(to right, hsl(233, 73%, 35%), hsl(233, 73%, 15%))
hex
background-color: #18279A;
tailwind
bg-[hsl(233,73%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 73%, 35%, 0.4);
css variable
--color-primary: hsl(233, 73%, 35%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 73%, 35%)?
HEX: #18279A | RGB: rgb(24, 39, 154) | CMYK: 84%, 75%, 0%, 40% | HSV: 233°, 84%, 60%. Copy any format from the conversion table above.
What colors go well with #18279A?
The complementary color is HSL(53, 73%, 35%). 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, 73%, 35%) in CSS?
As HSL: color: hsl(233, 73%, 35%); — As HEX: color: #18279A; — As RGB: color: rgb(24, 39, 154); — Tailwind CSS: bg-[hsl(233,73%,35%)] — CSS variable: --color-primary: hsl(233, 73%, 35%);