HSL(233, 21%, 52%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(233,21%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(233, 21%, 52%) | color: hsl(233, 21%, 52%) | |
| HEX | #6B719E | color: #6B719E | |
| RGB | rgb(107, 113, 158) | color: rgb(107, 113, 158) | |
| CMYK | cmyk(32%, 28%, 0%, 38%) | — | |
| HSV | hsv(233, 32%, 62%) | — | |
| HWB | hwb(233 42% 38%) | color: hwb(233 42% 38%) | |
| OKLCH | oklch(0.5615 0.07 278.03) | color: oklch(0.5615 0.07 278.03) | |
| Lab | lab(48.77 8.71 -25.01) | color: lab(48.77 8.71 -25.01) | |
| LCH | lch(48.77 26.48 289.2) | color: lch(48.77 26.48 289.2) |
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)
#6E6E93 — rgb(110, 110, 147)
Deuteranopia (Green-blind)
#6D6D91 — rgb(109, 109, 145)
Tritanopia (Blue-blind)
#6B8B89 — rgb(107, 139, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(233, 21%, 52%);
text
color: hsl(233, 21%, 52%);
border
border: 2px solid hsl(233, 21%, 52%);
gradient light
background: linear-gradient(to right, hsl(233, 21%, 72%), hsl(233, 21%, 52%));
gradient dark
background: linear-gradient(to right, hsl(233, 21%, 52%), hsl(233, 21%, 32%))
hex
background-color: #6B719E;
tailwind
bg-[hsl(233,21%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(233, 21%, 52%, 0.4);
css variable
--color-primary: hsl(233, 21%, 52%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(233, 21%, 52%)?
HEX: #6B719E | RGB: rgb(107, 113, 158) | CMYK: 32%, 28%, 0%, 38% | HSV: 233°, 32%, 62%. Copy any format from the conversion table above.
What colors go well with #6B719E?
The complementary color is HSL(53, 21%, 52%). For a triadic harmony, use hues 233°, 353°, and 113°. For analogous combinations, try hues 203° and 263°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(233, 21%, 52%) in CSS?
As HSL: color: hsl(233, 21%, 52%); — As HEX: color: #6B719E; — As RGB: color: rgb(107, 113, 158); — Tailwind CSS: bg-[hsl(233,21%,52%)] — CSS variable: --color-primary: hsl(233, 21%, 52%);