#5781EF#5781EF

#5781EF is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.8% C 0.171 H 265.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5781EF
RGBrgb(87, 129, 239)
HSLhsl(223, 83%, 64%)
HSVhsv(223, 64%, 94%)
CMYKcmyk(63.6%, 46%, 0%, 6.3%)
CIE-LABlab(56.04, 19.59, -59.82)
CIE-LCHlch(56.04, 62.94, 288.13°)
OKLaboklab(62.79% -0.0122 -0.1711)
OKLCHoklch(62.79% 0.171 265.9)
XYZxyz(27.3553, 23.9562, 84.8270)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5781EF #EFC557
analogous
#57CDEF #5781EF #7957EF
triadic
#5781EF #EF5781 #81EF57
tetradic
#5781EF #EF57CD #EFC557 #57EF79
square
#5781EF #EF57CD #EFC557 #57EF79
split-complementary
#5781EF #EF7957 #CDEF57
monochromatic
#1240BA #1F57EA #5781EF #8FABF4 #C7D5FA

Accessibility & contrast

On white

3.63
#5781EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5781EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5781EF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5781EF#FFFFFF#000000##000000
##5781EF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#2E80ED
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5781ef;
/* rgb */ color: rgb(87, 129, 239);
/* oklch */ color: oklch(62.8% 0.171 265.9);
Tailwind
colors: {
  custom: {
    50: '#94a5f5',
    500: '#5781ef',
    950: '#000000',
  },
}
SCSS
$custom: #5781ef;
$custom-light: #94a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5781ef",
  "rgb": {
    "r": 87,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 223.421,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.17149,
    "h": 265.9
  },
  "luminance": 0.23959
}

Semantic roles & 50–950 ramp

primary
#5781EF
secondary
#ECDDB6
accent
#A306DF
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #5781EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5781EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva