#5789FA#5789FA

#5789FA is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.1% C 0.177 H 264.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5789FA
RGBrgb(87, 137, 250)
HSLhsl(222, 94%, 66%)
HSVhsv(222, 65%, 98%)
CMYKcmyk(65.2%, 45.2%, 0%, 2%)
CIE-LABlab(58.80, 18.47, -61.47)
CIE-LCHlch(58.80, 64.19, 286.73°)
OKLaboklab(65.12% -0.018 -0.1758)
OKLCHoklch(65.12% 0.177 264.1)
XYZxyz(30.1254, 26.8168, 94.0125)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789FA #FAC857
analogous
#57DAFA #5789FA #7657FA
triadic
#5789FA #FA5789 #89FA57
tetradic
#5789FA #FA57DA #FAC857 #57FA76
square
#5789FA #FA57DA #FAC857 #57FA76
split-complementary
#5789FA #FA7657 #DAFA57
monochromatic
#0644D0 #1C5FF8 #5789FA #92B3FC #CEDCFE

Accessibility & contrast

On white

3.30
#5789FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5789FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789FA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789FA#FFFFFF#000000##000000
##5789FA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FE
Deuteranopia (green-blind)
#3286F8
Tritanopia (blue-blind)
#00A3B5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5789fa;
/* rgb */ color: rgb(87, 137, 250);
/* oklch */ color: oklch(65.1% 0.177 264.1);
Tailwind
colors: {
  custom: {
    50: '#96aafc',
    500: '#5789fa',
    950: '#000000',
  },
}
SCSS
$custom: #5789fa;
$custom-light: #96aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#5789fa",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 221.595,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65117,
    "c": 0.17674,
    "h": 264.1
  },
  "luminance": 0.2682
}

Semantic roles & 50–950 ramp

primary
#5789FA
secondary
#F1E1BC
accent
#9F00E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F1018
muted
#7E7F86

Preview Lab

Preview with #5789FA

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

Preview Lab → · Contrast checker → · Palette generator →

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