HSL(226, 57%, 64%)
Blue — Blue color
Adjust Color
Color Information
Color Name
Blue
Color Family
Blue
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(226,57%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(226, 57%, 64%) | color: hsl(226, 57%, 64%) | |
| HEX | #6F87D8 | color: #6F87D8 | |
| RGB | rgb(111, 135, 216) | color: rgb(111, 135, 216) | |
| CMYK | cmyk(49%, 38%, 0%, 15%) | — | |
| HSV | hsv(226, 49%, 85%) | — | |
| HWB | hwb(226 43% 15%) | color: hwb(226 43% 15%) | |
| OKLCH | oklch(0.6403 0.1249 270.11) | color: oklch(0.6403 0.1249 270.11) | |
| Lab | lab(57.72 13.4 -44.23) | color: lab(57.72 13.4 -44.23) | |
| LCH | lch(57.72 46.22 286.85) | color: lch(57.72 46.22 286.85) |
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)
#797AC4 — rgb(121, 122, 196)
Deuteranopia (Green-blind)
#7876C0 — rgb(120, 118, 192)
Tritanopia (Blue-blind)
#70B5B2 — rgb(112, 181, 178)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(226, 57%, 64%);
text
color: hsl(226, 57%, 64%);
border
border: 2px solid hsl(226, 57%, 64%);
gradient light
background: linear-gradient(to right, hsl(226, 57%, 84%), hsl(226, 57%, 64%));
gradient dark
background: linear-gradient(to right, hsl(226, 57%, 64%), hsl(226, 57%, 44%))
hex
background-color: #6F87D8;
tailwind
bg-[hsl(226,57%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(226, 57%, 64%, 0.4);
css variable
--color-primary: hsl(226, 57%, 64%);
Related Colors
Use Cases for Blue
Frequently Asked Questions
What are all the color codes for HSL(226, 57%, 64%)?
HEX: #6F87D8 | RGB: rgb(111, 135, 216) | CMYK: 49%, 38%, 0%, 15% | HSV: 226°, 49%, 85%. Copy any format from the conversion table above.
What colors go well with #6F87D8?
The complementary color is HSL(46, 57%, 64%). For a triadic harmony, use hues 226°, 346°, and 106°. For analogous combinations, try hues 196° and 256°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(226, 57%, 64%) in CSS?
As HSL: color: hsl(226, 57%, 64%); — As HEX: color: #6F87D8; — As RGB: color: rgb(111, 135, 216); — Tailwind CSS: bg-[hsl(226,57%,64%)] — CSS variable: --color-primary: hsl(226, 57%, 64%);