HSL(233, 67%, 33%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,67%,33%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 67%, 33%) | color: hsl(233, 67%, 33%) | |
| HEX | #1C298D | color: #1C298D | |
| RGB | rgb(28, 41, 141) | color: rgb(28, 41, 141) | |
| CMYK | cmyk(80%, 71%, 0%, 45%) | — | |
| HSV | hsv(233, 80%, 55%) | — | |
| HWB | hwb(233 11% 45%) | color: hwb(233 11% 45%) | |
| OKLCH | oklch(0.3481 0.1635 269.33) | color: oklch(0.3481 0.1635 269.33) | |
| Lab | lab(22.84 32.51 -56.46) | color: lab(22.84 32.51 -56.46) | |
| LCH | lch(22.84 65.15 299.93) | color: lch(22.84 65.15 299.93) |
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)
#222275 — rgb(34, 34, 117)
Deuteranopia (Green-blind)
#21206F — rgb(33, 32, 111)
Tritanopia (Blue-blind)
#1D625E — rgb(29, 98, 94)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 67%, 33%);
text
color: hsl(233, 67%, 33%);
border
border: 2px solid hsl(233, 67%, 33%);
gradient light
background: linear-gradient(to right, hsl(233, 67%, 53%), hsl(233, 67%, 33%));
gradient dark
background: linear-gradient(to right, hsl(233, 67%, 33%), hsl(233, 67%, 13%))
hex
background-color: #1C298D;
tailwind
bg-[hsl(233,67%,33%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 67%, 33%, 0.4);
css variable
--color-primary: hsl(233, 67%, 33%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 67%, 33%)?
HEX: #1C298D | RGB: rgb(28, 41, 141) | CMYK: 80%, 71%, 0%, 45% | HSV: 233°, 80%, 55%. Copy any format from the conversion table above.
What colors go well with #1C298D?
The complementary color is HSL(53, 67%, 33%). 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, 67%, 33%) in CSS?
As HSL: color: hsl(233, 67%, 33%); — As HEX: color: #1C298D; — As RGB: color: rgb(28, 41, 141); — Tailwind CSS: bg-[hsl(233,67%,33%)] — CSS variable: --color-primary: hsl(233, 67%, 33%);