#5789F3#5789F3

#5789F3 is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.7% C 0.167 H 263.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5789F3
RGBrgb(87, 137, 243)
HSLhsl(221, 87%, 65%)
HSVhsv(221, 64%, 95%)
CMYKcmyk(64.2%, 43.6%, 0%, 4.7%)
CIE-LABlab(58.40, 16.10, -58.26)
CIE-LCHlch(58.40, 60.44, 285.45°)
OKLaboklab(64.68% -0.0191 -0.1664)
OKLCHoklch(64.68% 0.167 263.4)
XYZxyz(29.0481, 26.3859, 88.3388)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5789F3 #F3C157
analogous
#57D7F3 #5789F3 #7357F3
triadic
#5789F3 #F35789 #89F357
tetradic
#5789F3 #F357D7 #F3C157 #57F373
square
#5789F3 #F357D7 #F3C157 #57F373
split-complementary
#5789F3 #F37357 #D7F357
monochromatic
#0E48C2 #1E61EF #5789F3 #90B1F7 #C9D9FB

Accessibility & contrast

On white

3.35
#5789F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#5789F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5789F3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5789F3#FFFFFF#000000##000000
##5789F31.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#3D86F1
Tritanopia (blue-blind)
#00A1B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5789f3;
/* rgb */ color: rgb(87, 137, 243);
/* oklch */ color: oklch(64.7% 0.167 263.4);
Tailwind
colors: {
  custom: {
    50: '#95aaf8',
    500: '#5789f3',
    950: '#000000',
  },
}
SCSS
$custom: #5789f3;
$custom-light: #95aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5789f3",
  "rgb": {
    "r": 87,
    "g": 137,
    "b": 243
  },
  "hsl": {
    "h": 220.769,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64677,
    "c": 0.16747,
    "h": 263.4
  },
  "luminance": 0.26389
}

Semantic roles & 50–950 ramp

primary
#5789F3
secondary
#EEDDB8
accent
#9B02E3
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #5789F3

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

Preview Lab → · Contrast checker → · Palette generator →

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