HSL(199, 93%, 40%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
7000K
CSS Class
bg-[hsl(199,93%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(199, 93%, 40%) | color: hsl(199, 93%, 40%) | |
| HEX | #0789C5 | color: #0789C5 | |
| RGB | rgb(7, 137, 197) | color: rgb(7, 137, 197) | |
| CMYK | cmyk(96%, 30%, 0%, 23%) | — | |
| HSV | hsv(199, 96%, 77%) | — | |
| HWB | hwb(199 3% 23%) | color: hwb(199 3% 23%) | |
| OKLCH | oklch(0.5988 0.1321 238.4) | color: oklch(0.5988 0.1321 238.4) | |
| Lab | lab(53.99 -8.78 -39.61) | color: lab(53.99 -8.78 -39.61) | |
| LCH | lch(53.99 40.57 257.5) | color: lch(53.99 40.57 257.5) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#3F40B6 — rgb(63, 64, 182)
Deuteranopia (Green-blind)
#382EB3 — rgb(56, 46, 179)
Tritanopia (Blue-blind)
#0EABA9 — rgb(14, 171, 169)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(199, 93%, 40%);
text
color: hsl(199, 93%, 40%);
border
border: 2px solid hsl(199, 93%, 40%);
gradient light
background: linear-gradient(to right, hsl(199, 93%, 60%), hsl(199, 93%, 40%));
gradient dark
background: linear-gradient(to right, hsl(199, 93%, 40%), hsl(199, 93%, 20%))
hex
background-color: #0789C5;
tailwind
bg-[hsl(199,93%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(199, 93%, 40%, 0.4);
css variable
--color-primary: hsl(199, 93%, 40%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(199, 93%, 40%)?
HEX: #0789C5 | RGB: rgb(7, 137, 197) | CMYK: 96%, 30%, 0%, 23% | HSV: 199°, 96%, 77%. Copy any format from the conversion table above.
What colors go well with #0789C5?
The complementary color is HSL(19, 93%, 40%). For a triadic harmony, use hues 199°, 319°, and 79°. For analogous combinations, try hues 169° and 229°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(199, 93%, 40%) in CSS?
As HSL: color: hsl(199, 93%, 40%); — As HEX: color: #0789C5; — As RGB: color: rgb(7, 137, 197); — Tailwind CSS: bg-[hsl(199,93%,40%)] — CSS variable: --color-primary: hsl(199, 93%, 40%);