#5F89EE#5F89EE

#5F89EE is a light, vivid blue. Relative luminance 0.265; OKLCH L 64.8% C 0.158 H 265.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5F89EE
RGBrgb(95, 137, 238)
HSLhsl(222, 81%, 65%)
HSVhsv(222, 60%, 93%)
CMYKcmyk(60.1%, 42.4%, 0%, 6.7%)
CIE-LABlab(58.50, 15.83, -55.30)
CIE-LCHlch(58.50, 57.52, 285.97°)
OKLaboklab(64.77% -0.013 -0.1576)
OKLCHoklch(64.77% 0.158 265.3)
XYZxyz(29.0923, 26.4948, 84.4532)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89EE #EEC45F
analogous
#5FD0EE #5F89EE #7D5FEE
triadic
#5F89EE #EE5F89 #89EE5F
tetradic
#5F89EE #EE5FD0 #EEC45F #5FEE7D
square
#5F89EE #EE5FD0 #EEC45F #5FEE7D
split-complementary
#5F89EE #EE7D5F #D0EE5F
monochromatic
#1446BE #2860E8 #5F89EE #96B2F4 #CEDBFA

Accessibility & contrast

On white

3.33
#5F89EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#5F89EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89EE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89EE#FFFFFF#000000##000000
##5F89EE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F2
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#00A0B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f89ee;
/* rgb */ color: rgb(95, 137, 238);
/* oklch */ color: oklch(64.8% 0.158 265.3);
Tailwind
colors: {
  custom: {
    50: '#98abf4',
    500: '#5f89ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ee;
$custom-light: #98abf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ee",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 222.378,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.1581,
    "h": 265.3
  },
  "luminance": 0.26497
}

Semantic roles & 50–950 ramp

primary
#5F89EE
secondary
#ECDEBC
accent
#9F08DD
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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