HSL(236, 34%, 54%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(236,34%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(236, 34%, 54%) | color: hsl(236, 34%, 54%) | |
| HEX | #6267B2 | color: #6267B2 | |
| RGB | rgb(98, 103, 178) | color: rgb(98, 103, 178) | |
| CMYK | cmyk(45%, 42%, 0%, 30%) | — | |
| HSV | hsv(236, 45%, 70%) | — | |
| HWB | hwb(236 39% 30%) | color: hwb(236 39% 30%) | |
| OKLCH | oklch(0.5442 0.1161 278.91) | color: oklch(0.5442 0.1161 278.91) | |
| Lab | lab(46.33 18.06 -40.58) | color: lab(46.33 18.06 -40.58) | |
| LCH | lch(46.33 44.42 293.99) | color: lch(46.33 44.42 293.99) |
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)
#6464A0 — rgb(100, 100, 160)
Deuteranopia (Green-blind)
#64649C — rgb(100, 100, 156)
Tritanopia (Blue-blind)
#62928E — rgb(98, 146, 142)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(236, 34%, 54%);
text
color: hsl(236, 34%, 54%);
border
border: 2px solid hsl(236, 34%, 54%);
gradient light
background: linear-gradient(to right, hsl(236, 34%, 74%), hsl(236, 34%, 54%));
gradient dark
background: linear-gradient(to right, hsl(236, 34%, 54%), hsl(236, 34%, 34%))
hex
background-color: #6267B2;
tailwind
bg-[hsl(236,34%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(236, 34%, 54%, 0.4);
css variable
--color-primary: hsl(236, 34%, 54%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(236, 34%, 54%)?
HEX: #6267B2 | RGB: rgb(98, 103, 178) | CMYK: 45%, 42%, 0%, 30% | HSV: 236°, 45%, 70%. Copy any format from the conversion table above.
What colors go well with #6267B2?
The complementary color is HSL(56, 34%, 54%). For a triadic harmony, use hues 236°, 356°, and 116°. For analogous combinations, try hues 206° and 266°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(236, 34%, 54%) in CSS?
As HSL: color: hsl(236, 34%, 54%); — As HEX: color: #6267B2; — As RGB: color: rgb(98, 103, 178); — Tailwind CSS: bg-[hsl(236,34%,54%)] — CSS variable: --color-primary: hsl(236, 34%, 54%);