#5789DF#5789DF

#5789DF is a light, vivid blue. Relative luminance 0.252; OKLCH L 63.5% C 0.141 H 260.6°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5789DF
RGBrgb(87, 137, 223)
HSLhsl(218, 68%, 61%)
HSVhsv(218, 61%, 87%)
CMYKcmyk(61%, 38.6%, 0%, 12.5%)
CIE-LABlab(57.31, 9.37, -48.88)
CIE-LCHlch(57.31, 49.77, 280.85°)
OKLaboklab(63.48% -0.023 -0.1389)
OKLCHoklch(63.48% 0.141 260.6)
XYZxyz(26.1908, 25.2429, 73.2899)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789DF #DFAD57
analogous
#57CDDF #5789DF #6957DF
triadic
#5789DF #DF5789 #89DF57
tetradic
#5789DF #DF57CD #DFAD57 #57DF69
square
#5789DF #DF57CD #DFAD57 #57DF69
split-complementary
#5789DF #DF6957 #CDDF57
monochromatic
#1E4D9E #2866D1 #5789DF #8AADE9 #BED1F3

Accessibility & contrast

On white

3.47
#5789DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#5789DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789DF#FFFFFF#000000##000000
##5789DF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6490E2
Deuteranopia (green-blind)
#5184DD
Tritanopia (blue-blind)
#009CA9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5789df;
/* rgb */ color: rgb(87, 137, 223);
/* oklch */ color: oklch(63.5% 0.141 260.6);
Tailwind
colors: {
  custom: {
    50: '#92abe9',
    500: '#5789df',
    950: '#000000',
  },
}
SCSS
$custom: #5789df;
$custom-light: #92abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5789df",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 217.941,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.14076,
    "h": 260.6
  },
  "luminance": 0.25245
}

Semantic roles & 50–950 ramp

primary
#5789DF
secondary
#E3D0AF
accent
#8B16D0
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5789DF

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

Preview Lab → · Contrast checker → · Palette generator →

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