#5789CF#5789CF

#5789CF is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.6% C 0.119 H 257.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5789CF
RGBrgb(87, 137, 207)
HSLhsl(215, 56%, 58%)
HSVhsv(215, 58%, 81%)
CMYKcmyk(58%, 33.8%, 0%, 18.8%)
CIE-LABlab(56.51, 4.09, -41.17)
CIE-LCHlch(56.51, 41.37, 275.68°)
OKLaboklab(62.59% -0.0269 -0.1163)
OKLCHoklch(62.59% 0.119 257)
XYZxyz(24.1347, 24.4205, 62.4612)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789CF #CF9D57
analogous
#57C5CF #5789CF #6157CF
triadic
#5789CF #CF5789 #89CF57
tetradic
#5789CF #CF57C5 #CF9D57 #57CF61
square
#5789CF #CF57C5 #CF9D57 #57CF61
split-complementary
#5789CF #CF6157 #C5CF57
monochromatic
#264E85 #346AB5 #5789CF #87AADD #B6CCEA

Accessibility & contrast

On white

3.57
#5789CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5789CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789CF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789CF#FFFFFF#000000##000000
##5789CF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#5C82CE
Tritanopia (blue-blind)
#0099A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5789cf;
/* rgb */ color: rgb(87, 137, 207);
/* oklch */ color: oklch(62.6% 0.119 257.0);
Tailwind
colors: {
  custom: {
    50: '#8fabde',
    500: '#5789cf',
    950: '#000000',
  },
}
SCSS
$custom: #5789cf;
$custom-light: #8fabde;
$custom-dark: #000000;
JSON
{
  "hex": "#5789cf",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 215,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62592,
    "c": 0.1194,
    "h": 257
  },
  "luminance": 0.24423
}

Semantic roles & 50–950 ramp

primary
#5789CF
secondary
#D9C5A9
accent
#A049DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5789CF

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

Preview Lab → · Contrast checker → · Palette generator →

#5789CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva