#5F89ED#5F89ED

#5F89ED is a light, vivid blue. Relative luminance 0.264; OKLCH L 64.7% C 0.157 H 265.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5F89ED
RGBrgb(95, 137, 237)
HSLhsl(222, 80%, 65%)
HSVhsv(222, 60%, 93%)
CMYKcmyk(59.9%, 42.2%, 0%, 7.1%)
CIE-LABlab(58.45, 15.50, -54.84)
CIE-LCHlch(58.45, 56.99, 285.78°)
OKLaboklab(64.71% -0.0132 -0.1562)
OKLCHoklch(64.71% 0.157 265.2)
XYZxyz(28.9458, 26.4362, 83.6816)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89ED #EDC35F
analogous
#5FD0ED #5F89ED #7C5FED
triadic
#5F89ED #ED5F89 #89ED5F
tetradic
#5F89ED #ED5FD0 #EDC35F #5FED7C
square
#5F89ED #ED5FD0 #EDC35F #5FED7C
split-complementary
#5F89ED #ED7C5F #D0ED5F
monochromatic
#1547BC #2860E7 #5F89ED #96B2F3 #CDDAF9

Accessibility & contrast

On white

3.34
#5F89ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5F89ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89ED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89ED#FFFFFF#000000##000000
##5F89ED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F1
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#009FAF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f89ed;
/* rgb */ color: rgb(95, 137, 237);
/* oklch */ color: oklch(64.7% 0.157 265.2);
Tailwind
colors: {
  custom: {
    50: '#98abf3',
    500: '#5f89ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ed;
$custom-light: #98abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ed",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 237
  },
  "hsl": {
    "h": 222.254,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64709,
    "c": 0.15675,
    "h": 265.2
  },
  "luminance": 0.26439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F89ED

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

Preview Lab → · Contrast checker → · Palette generator →

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