HSL(233, 77%, 34%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,77%,34%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 77%, 34%) | color: hsl(233, 77%, 34%) | |
| HEX | #142499 | color: #142499 | |
| RGB | rgb(20, 36, 153) | color: rgb(20, 36, 153) | |
| CMYK | cmyk(87%, 76%, 0%, 40%) | — | |
| HSV | hsv(233, 87%, 60%) | — | |
| HWB | hwb(233 8% 40%) | color: hwb(233 8% 40%) | |
| OKLCH | oklch(0.3499 0.1862 267.32) | color: oklch(0.3499 0.1862 267.32) | |
| Lab | lab(22.69 39.45 -64.15) | color: lab(22.69 39.45 -64.15) | |
| LCH | lch(22.69 75.31 301.59) | color: lch(22.69 75.31 301.59) |
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)
#1B1B7D — rgb(27, 27, 125)
Deuteranopia (Green-blind)
#1A1976 — rgb(26, 25, 118)
Tritanopia (Blue-blind)
#156661 — rgb(21, 102, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 77%, 34%);
text
color: hsl(233, 77%, 34%);
border
border: 2px solid hsl(233, 77%, 34%);
gradient light
background: linear-gradient(to right, hsl(233, 77%, 54%), hsl(233, 77%, 34%));
gradient dark
background: linear-gradient(to right, hsl(233, 77%, 34%), hsl(233, 77%, 14%))
hex
background-color: #142499;
tailwind
bg-[hsl(233,77%,34%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 77%, 34%, 0.4);
css variable
--color-primary: hsl(233, 77%, 34%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 77%, 34%)?
HEX: #142499 | RGB: rgb(20, 36, 153) | CMYK: 87%, 76%, 0%, 40% | HSV: 233°, 87%, 60%. Copy any format from the conversion table above.
What colors go well with #142499?
The complementary color is HSL(53, 77%, 34%). 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%, 34%) in CSS?
As HSL: color: hsl(233, 77%, 34%); — As HEX: color: #142499; — As RGB: color: rgb(20, 36, 153); — Tailwind CSS: bg-[hsl(233,77%,34%)] — CSS variable: --color-primary: hsl(233, 77%, 34%);