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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 3.42:1
vs Black 6.13:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Corporate branding Trust signals Tech products Social media Primary buttons

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%);