HSL(238, 74%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,74%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 74%, 66%) | color: hsl(238, 74%, 66%) | |
| HEX | #686CE8 | color: #686CE8 | |
| RGB | rgb(104, 108, 232) | color: rgb(104, 108, 232) | |
| CMYK | cmyk(55%, 53%, 0%, 9%) | — | |
| HSV | hsv(238, 55%, 91%) | — | |
| HWB | hwb(238 41% 9%) | color: hwb(238 41% 9%) | |
| OKLCH | oklch(0.5929 0.1836 277.82) | color: oklch(0.5929 0.1836 277.82) | |
| Lab | lab(51.26 33.13 -63.55) | color: lab(51.26 33.13 -63.55) | |
| LCH | lch(51.26 71.67 297.53) | color: lch(51.26 71.67 297.53) |
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)
#6A6ACA — rgb(106, 106, 202)
Deuteranopia (Green-blind)
#6A69C3 — rgb(106, 105, 195)
Tritanopia (Blue-blind)
#68B2AD — rgb(104, 178, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 74%, 66%);
text
color: hsl(238, 74%, 66%);
border
border: 2px solid hsl(238, 74%, 66%);
gradient light
background: linear-gradient(to right, hsl(238, 74%, 86%), hsl(238, 74%, 66%));
gradient dark
background: linear-gradient(to right, hsl(238, 74%, 66%), hsl(238, 74%, 46%))
hex
background-color: #686CE8;
tailwind
bg-[hsl(238,74%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 74%, 66%, 0.4);
css variable
--color-primary: hsl(238, 74%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 74%, 66%)?
HEX: #686CE8 | RGB: rgb(104, 108, 232) | CMYK: 55%, 53%, 0%, 9% | HSV: 238°, 55%, 91%. Copy any format from the conversion table above.
What colors go well with #686CE8?
The complementary color is HSL(58, 74%, 66%). For a triadic harmony, use hues 238°, 358°, and 118°. For analogous combinations, try hues 208° and 268°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(238, 74%, 66%) in CSS?
As HSL: color: hsl(238, 74%, 66%); — As HEX: color: #686CE8; — As RGB: color: rgb(104, 108, 232); — Tailwind CSS: bg-[hsl(238,74%,66%)] — CSS variable: --color-primary: hsl(238, 74%, 66%);