#5578F2#5578F2

#5578F2 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.187 H 268.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5578F2
RGBrgb(85, 120, 242)
HSLhsl(227, 86%, 64%)
HSVhsv(227, 65%, 95%)
CMYKcmyk(64.9%, 50.4%, 0%, 5.1%)
CIE-LABlab(53.78, 25.78, -65.12)
CIE-LCHlch(53.78, 70.04, 291.60°)
OKLaboklab(61.11% -0.0053 -0.1868)
OKLCHoklch(61.11% 0.187 268.4)
XYZxyz(26.4843, 21.7726, 86.7940)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5578F2 #F2CF55
analogous
#55C7F2 #5578F2 #8155F2
triadic
#5578F2 #F25578 #78F255
tetradic
#5578F2 #F255C7 #F2CF55 #55F281
square
#5578F2 #F255C7 #F2CF55 #55F281
split-complementary
#5578F2 #F28155 #C7F255
monochromatic
#0F36BE #1C4BEE #5578F2 #8EA5F6 #C7D2FB

Accessibility & contrast

On white

3.92
#5578F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5578F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5578F2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5578F2#FFFFFF#000000##000000
##5578F21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#0095AA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5578f2;
/* rgb */ color: rgb(85, 120, 242);
/* oklch */ color: oklch(61.1% 0.187 268.4);
Tailwind
colors: {
  custom: {
    50: '#949ef7',
    500: '#5578f2',
    950: '#000000',
  },
}
SCSS
$custom: #5578f2;
$custom-light: #949ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#5578f2",
  "rgb": {
    "r": 85,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 226.624,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.61107,
    "c": 0.18692,
    "h": 268.4
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#5578F2
secondary
#EDE1B6
accent
#B103E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5578F2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5578F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva