HSL(237, 30%, 55%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(237,30%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(237, 30%, 55%) | color: hsl(237, 30%, 55%) | |
| HEX | #6A6DAF | color: #6A6DAF | |
| RGB | rgb(106, 109, 175) | color: rgb(106, 109, 175) | |
| CMYK | cmyk(39%, 38%, 0%, 31%) | — | |
| HSV | hsv(237, 39%, 69%) | — | |
| HWB | hwb(237 42% 31%) | color: hwb(237 42% 31%) | |
| OKLCH | oklch(0.5609 0.1015 280.61) | color: oklch(0.5609 0.1015 280.61) | |
| Lab | lab(48.38 15.61 -35.55) | color: lab(48.38 15.61 -35.55) | |
| LCH | lch(48.38 38.83 293.71) | color: lch(48.38 38.83 293.71) |
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)
#6B6B9F — rgb(107, 107, 159)
Deuteranopia (Green-blind)
#6B6B9B — rgb(107, 107, 155)
Tritanopia (Blue-blind)
#6A9290 — rgb(106, 146, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(237, 30%, 55%);
text
color: hsl(237, 30%, 55%);
border
border: 2px solid hsl(237, 30%, 55%);
gradient light
background: linear-gradient(to right, hsl(237, 30%, 75%), hsl(237, 30%, 55%));
gradient dark
background: linear-gradient(to right, hsl(237, 30%, 55%), hsl(237, 30%, 35%))
hex
background-color: #6A6DAF;
tailwind
bg-[hsl(237,30%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(237, 30%, 55%, 0.4);
css variable
--color-primary: hsl(237, 30%, 55%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(237, 30%, 55%)?
HEX: #6A6DAF | RGB: rgb(106, 109, 175) | CMYK: 39%, 38%, 0%, 31% | HSV: 237°, 39%, 69%. Copy any format from the conversion table above.
What colors go well with #6A6DAF?
The complementary color is HSL(57, 30%, 55%). For a triadic harmony, use hues 237°, 357°, and 117°. For analogous combinations, try hues 207° and 267°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(237, 30%, 55%) in CSS?
As HSL: color: hsl(237, 30%, 55%); — As HEX: color: #6A6DAF; — As RGB: color: rgb(106, 109, 175); — Tailwind CSS: bg-[hsl(237,30%,55%)] — CSS variable: --color-primary: hsl(237, 30%, 55%);