#5789D3#5789D3

#5789D3 is a light, vivid blue. Relative luminance 0.246; OKLCH L 62.8% C 0.125 H 258.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5789D3
RGBrgb(87, 137, 211)
HSLhsl(216, 58%, 58%)
HSVhsv(216, 59%, 83%)
CMYKcmyk(58.8%, 35.1%, 0%, 17.3%)
CIE-LABlab(56.70, 5.40, -43.11)
CIE-LCHlch(56.70, 43.45, 277.14°)
OKLaboklab(62.81% -0.0258 -0.122)
OKLCHoklch(62.81% 0.125 258)
XYZxyz(24.6299, 24.6186, 65.0693)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789D3 #D3A157
analogous
#57C7D3 #5789D3 #6357D3
triadic
#5789D3 #D35789 #89D357
tetradic
#5789D3 #D357C7 #D3A157 #57D363
square
#5789D3 #D357C7 #D3A157 #57D363
split-complementary
#5789D3 #D36357 #C7D357
monochromatic
#244E8B #3169BC #5789D3 #87ABE0 #B8CDEC

Accessibility & contrast

On white

3.54
#5789D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5789D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789D3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789D3#FFFFFF#000000##000000
##5789D31.003.545.925.92
#FFFFFF3.541.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8ED6
Deuteranopia (green-blind)
#5A83D1
Tritanopia (blue-blind)
#009AA4
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5789d3;
/* rgb */ color: rgb(87, 137, 211);
/* oklch */ color: oklch(62.8% 0.125 258.0);
Tailwind
colors: {
  custom: {
    50: '#90abe1',
    500: '#5789d3',
    950: '#000000',
  },
}
SCSS
$custom: #5789d3;
$custom-light: #90abe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5789d3",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 211
  },
  "hsl": {
    "h": 215.806,
    "s": 58.491,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62809,
    "c": 0.12472,
    "h": 258
  },
  "luminance": 0.24621
}

Semantic roles & 50–950 ramp

primary
#5789D3
secondary
#DCC8AA
accent
#A346E2
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5789D3

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

Preview Lab → · Contrast checker → · Palette generator →

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