HSL(238, 67%, 66%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(238,67%,66%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(238, 67%, 66%) | color: hsl(238, 67%, 66%) | |
| HEX | #6E72E2 | color: #6E72E2 | |
| RGB | rgb(110, 114, 226) | color: rgb(110, 114, 226) | |
| CMYK | cmyk(51%, 50%, 0%, 11%) | — | |
| HSV | hsv(238, 51%, 89%) | — | |
| HWB | hwb(238 44% 11%) | color: hwb(238 44% 11%) | |
| OKLCH | oklch(0.6042 0.1665 278.63) | color: oklch(0.6042 0.1665 278.63) | |
| Lab | lab(52.77 28.85 -57.73) | color: lab(52.77 28.85 -57.73) | |
| LCH | lch(52.77 64.54 296.55) | color: lch(52.77 64.54 296.55) |
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)
#7070C7 — rgb(112, 112, 199)
Deuteranopia (Green-blind)
#706FC0 — rgb(112, 111, 192)
Tritanopia (Blue-blind)
#6EB2AD — rgb(110, 178, 173)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(238, 67%, 66%);
text
color: hsl(238, 67%, 66%);
border
border: 2px solid hsl(238, 67%, 66%);
gradient light
background: linear-gradient(to right, hsl(238, 67%, 86%), hsl(238, 67%, 66%));
gradient dark
background: linear-gradient(to right, hsl(238, 67%, 66%), hsl(238, 67%, 46%))
hex
background-color: #6E72E2;
tailwind
bg-[hsl(238,67%,66%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(238, 67%, 66%, 0.4);
css variable
--color-primary: hsl(238, 67%, 66%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(238, 67%, 66%)?
HEX: #6E72E2 | RGB: rgb(110, 114, 226) | CMYK: 51%, 50%, 0%, 11% | HSV: 238°, 51%, 89%. Copy any format from the conversion table above.
What colors go well with #6E72E2?
The complementary color is HSL(58, 67%, 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, 67%, 66%) in CSS?
As HSL: color: hsl(238, 67%, 66%); — As HEX: color: #6E72E2; — As RGB: color: rgb(110, 114, 226); — Tailwind CSS: bg-[hsl(238,67%,66%)] — CSS variable: --color-primary: hsl(238, 67%, 66%);