#5F89E2#5F89E2

#5F89E2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.1% C 0.142 H 263.8°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5F89E2
RGBrgb(95, 137, 226)
HSLhsl(221, 69%, 63%)
HSVhsv(221, 58%, 89%)
CMYKcmyk(58%, 39.4%, 0%, 11.4%)
CIE-LABlab(57.86, 11.89, -49.66)
CIE-LCHlch(57.86, 51.06, 283.47°)
OKLaboklab(64.06% -0.0153 -0.141)
OKLCHoklch(64.06% 0.142 263.8)
XYZxyz(27.3877, 25.8129, 75.4759)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89E2 #E2B85F
analogous
#5FCBE2 #5F89E2 #765FE2
triadic
#5F89E2 #E25F89 #89E25F
tetradic
#5F89E2 #E25FCB #E2B85F #5FE276
square
#5F89E2 #E25FCB #E2B85F #5FE276
split-complementary
#5F89E2 #E2765F #CBE25F
monochromatic
#1E4BA8 #2B63D9 #5F89E2 #93AFEB #C7D5F5

Accessibility & contrast

On white

3.41
#5F89E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5F89E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89E2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89E2#FFFFFF#000000##000000
##5F89E21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6391E6
Deuteranopia (green-blind)
#5285E0
Tritanopia (blue-blind)
#009DAB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f89e2;
/* rgb */ color: rgb(95, 137, 226);
/* oklch */ color: oklch(64.1% 0.142 263.8);
Tailwind
colors: {
  custom: {
    50: '#96abeb',
    500: '#5f89e2',
    950: '#000000',
  },
}
SCSS
$custom: #5f89e2;
$custom-light: #96abeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89e2",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 226
  },
  "hsl": {
    "h": 220.763,
    "s": 69.312,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64062,
    "c": 0.14184,
    "h": 263.8
  },
  "luminance": 0.25815
}

Semantic roles & 50–950 ramp

primary
#5F89E2
secondary
#E6D7B7
accent
#9514D1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F89E2

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

Preview Lab → · Contrast checker → · Palette generator →

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