#5F89EA#5F89EA

#5F89EA is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.5% C 0.153 H 264.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5F89EA
RGBrgb(95, 137, 234)
HSLhsl(222, 77%, 65%)
HSVhsv(222, 59%, 92%)
CMYKcmyk(59.4%, 41.5%, 0%, 8.2%)
CIE-LABlab(58.29, 14.51, -53.43)
CIE-LCHlch(58.29, 55.37, 285.19°)
OKLaboklab(64.53% -0.0138 -0.1521)
OKLCHoklch(64.53% 0.153 264.8)
XYZxyz(28.5112, 26.2623, 81.3926)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89EA #EAC05F
analogous
#5FCEEA #5F89EA #7B5FEA
triadic
#5F89EA #EA5F89 #89EA5F
tetradic
#5F89EA #EA5FCE #EAC05F #5FEA7B
square
#5F89EA #EA5FCE #EAC05F #5FEA7B
split-complementary
#5F89EA #EA7B5F #CEEA5F
monochromatic
#1848B7 #2961E3 #5F89EA #95B1F1 #CBD9F8

Accessibility & contrast

On white

3.36
#5F89EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#5F89EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89EA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89EA#FFFFFF#000000##000000
##5F89EA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f89ea;
/* rgb */ color: rgb(95, 137, 234);
/* oklch */ color: oklch(64.5% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#97abf1',
    500: '#5f89ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ea;
$custom-light: #97abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ea",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 221.871,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6453,
    "c": 0.15269,
    "h": 264.8
  },
  "luminance": 0.26265
}

Semantic roles & 50–950 ramp

primary
#5F89EA
secondary
#EADCBA
accent
#9B0CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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