HSL(233, 66%, 42%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,66%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 66%, 42%) | color: hsl(233, 66%, 42%) | |
| HEX | #2435B2 | color: #2435B2 | |
| RGB | rgb(36, 53, 178) | color: rgb(36, 53, 178) | |
| CMYK | cmyk(80%, 70%, 0%, 30%) | — | |
| HSV | hsv(233, 80%, 70%) | — | |
| HWB | hwb(233 14% 30%) | color: hwb(233 14% 30%) | |
| OKLCH | oklch(0.4103 0.1958 268.93) | color: oklch(0.4103 0.1958 268.93) | |
| Lab | lab(29.75 39.11 -67.59) | color: lab(29.75 39.11 -67.59) | |
| LCH | lch(29.75 78.09 300.06) | color: lch(29.75 78.09 300.06) |
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)
#2B2C94 — rgb(43, 44, 148)
Deuteranopia (Green-blind)
#2A298D — rgb(42, 41, 141)
Tritanopia (Blue-blind)
#257C77 — rgb(37, 124, 119)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 66%, 42%);
text
color: hsl(233, 66%, 42%);
border
border: 2px solid hsl(233, 66%, 42%);
gradient light
background: linear-gradient(to right, hsl(233, 66%, 62%), hsl(233, 66%, 42%));
gradient dark
background: linear-gradient(to right, hsl(233, 66%, 42%), hsl(233, 66%, 22%))
hex
background-color: #2435B2;
tailwind
bg-[hsl(233,66%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 66%, 42%, 0.4);
css variable
--color-primary: hsl(233, 66%, 42%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 66%, 42%)?
HEX: #2435B2 | RGB: rgb(36, 53, 178) | CMYK: 80%, 70%, 0%, 30% | HSV: 233°, 80%, 70%. Copy any format from the conversion table above.
What colors go well with #2435B2?
The complementary color is HSL(53, 66%, 42%). 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, 66%, 42%) in CSS?
As HSL: color: hsl(233, 66%, 42%); — As HEX: color: #2435B2; — As RGB: color: rgb(36, 53, 178); — Tailwind CSS: bg-[hsl(233,66%,42%)] — CSS variable: --color-primary: hsl(233, 66%, 42%);