#5789FC#5789FC

#5789FC is a light, vivid blue. Relative luminance 0.269; OKLCH L 65.2% C 0.179 H 264.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5789FC
RGBrgb(87, 137, 252)
HSLhsl(222, 96%, 66%)
HSVhsv(222, 65%, 99%)
CMYKcmyk(65.5%, 45.6%, 0%, 1.2%)
CIE-LABlab(58.92, 19.15, -62.39)
CIE-LCHlch(58.92, 65.26, 287.07°)
OKLaboklab(65.24% -0.0177 -0.1785)
OKLCHoklch(65.24% 0.179 264.3)
XYZxyz(30.4407, 26.9429, 95.6729)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789FC #FCCA57
analogous
#57DCFC #5789FC #7857FC
triadic
#5789FC #FC5789 #89FC57
tetradic
#5789FC #FC57DC #FCCA57 #57FC78
square
#5789FC #FC57DC #FCCA57 #57FC78
split-complementary
#5789FC #FC7857 #DCFC57
monochromatic
#0443D5 #1B5FFB #5789FC #93B3FD #CFDDFE

Accessibility & contrast

On white

3.29
#5789FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5789FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789FC#FFFFFF#000000##000000
##5789FC1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#2F87FA
Tritanopia (blue-blind)
#00A4B6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5789fc;
/* rgb */ color: rgb(87, 137, 252);
/* oklch */ color: oklch(65.2% 0.179 264.3);
Tailwind
colors: {
  custom: {
    50: '#96aafe',
    500: '#5789fc',
    950: '#000000',
  },
}
SCSS
$custom: #5789fc;
$custom-light: #96aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5789fc",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 221.818,
    "s": 96.491,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65244,
    "c": 0.17939,
    "h": 264.3
  },
  "luminance": 0.26946
}

Semantic roles & 50–950 ramp

primary
#5789FC
secondary
#F2E2BD
accent
#A000E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5789FC

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

Preview Lab → · Contrast checker → · Palette generator →

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