HSL(230, 42%, 62%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(230,42%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(230, 42%, 62%) | color: hsl(230, 42%, 62%) | |
| HEX | #7583C7 | color: #7583C7 | |
| RGB | rgb(117, 131, 199) | color: rgb(117, 131, 199) | |
| CMYK | cmyk(41%, 34%, 0%, 22%) | — | |
| HSV | hsv(230, 41%, 78%) | — | |
| HWB | hwb(230 46% 22%) | color: hwb(230 46% 22%) | |
| OKLCH | oklch(0.6271 0.1039 274.17) | color: oklch(0.6271 0.1039 274.17) | |
| Lab | lab(56.22 12.25 -36.97) | color: lab(56.22 12.25 -36.97) | |
| LCH | lch(56.22 38.95 288.33) | color: lch(56.22 38.95 288.33) |
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)
#7B7BB7 — rgb(123, 123, 183)
Deuteranopia (Green-blind)
#7A79B3 — rgb(122, 121, 179)
Tritanopia (Blue-blind)
#76AAA7 — rgb(118, 170, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(230, 42%, 62%);
text
color: hsl(230, 42%, 62%);
border
border: 2px solid hsl(230, 42%, 62%);
gradient light
background: linear-gradient(to right, hsl(230, 42%, 82%), hsl(230, 42%, 62%));
gradient dark
background: linear-gradient(to right, hsl(230, 42%, 62%), hsl(230, 42%, 42%))
hex
background-color: #7583C7;
tailwind
bg-[hsl(230,42%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(230, 42%, 62%, 0.4);
css variable
--color-primary: hsl(230, 42%, 62%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(230, 42%, 62%)?
HEX: #7583C7 | RGB: rgb(117, 131, 199) | CMYK: 41%, 34%, 0%, 22% | HSV: 230°, 41%, 78%. Copy any format from the conversion table above.
What colors go well with #7583C7?
The complementary color is HSL(50, 42%, 62%). For a triadic harmony, use hues 230°, 350°, and 110°. For analogous combinations, try hues 200° and 260°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(230, 42%, 62%) in CSS?
As HSL: color: hsl(230, 42%, 62%); — As HEX: color: #7583C7; — As RGB: color: rgb(117, 131, 199); — Tailwind CSS: bg-[hsl(230,42%,62%)] — CSS variable: --color-primary: hsl(230, 42%, 62%);