#5F89EB#5F89EB

#5F89EB is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.6% C 0.154 H 264.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F89EB
RGBrgb(95, 137, 235)
HSLhsl(222, 78%, 65%)
HSVhsv(222, 60%, 92%)
CMYKcmyk(59.6%, 41.7%, 0%, 7.8%)
CIE-LABlab(58.34, 14.84, -53.90)
CIE-LCHlch(58.34, 55.91, 285.39°)
OKLaboklab(64.59% -0.0136 -0.1534)
OKLCHoklch(64.59% 0.154 264.9)
XYZxyz(28.6552, 26.3199, 82.1513)
Luminance0.2632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89EB #EBC15F
analogous
#5FCFEB #5F89EB #7B5FEB
triadic
#5F89EB #EB5F89 #89EB5F
tetradic
#5F89EB #EB5FCF #EBC15F #5FEB7B
square
#5F89EB #EB5FCF #EBC15F #5FEB7B
split-complementary
#5F89EB #EB7B5F #CFEB5F
monochromatic
#1748B9 #2961E4 #5F89EB #95B1F2 #CCD9F9

Accessibility & contrast

On white

3.35
#5F89EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5F89EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89EB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89EB#FFFFFF#000000##000000
##5F89EB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#009FAE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f89eb;
/* rgb */ color: rgb(95, 137, 235);
/* oklch */ color: oklch(64.6% 0.154 264.9);
Tailwind
colors: {
  custom: {
    50: '#97abf2',
    500: '#5f89eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f89eb;
$custom-light: #97abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89eb",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 222,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.15404,
    "h": 264.9
  },
  "luminance": 0.26322
}

Semantic roles & 50–950 ramp

primary
#5F89EB
secondary
#EBDDBB
accent
#9C0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F89EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5F89EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva