#5F89CE#5F89CE

#5F89CE is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.0% C 0.115 H 259.9°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F89CE
RGBrgb(95, 137, 206)
HSLhsl(217, 53%, 59%)
HSVhsv(217, 54%, 81%)
CMYKcmyk(53.9%, 33.5%, 0%, 19.2%)
CIE-LABlab(56.86, 5.46, -40.02)
CIE-LCHlch(56.86, 40.39, 277.77°)
OKLaboklab(62.96% -0.02 -0.1129)
OKLCHoklch(62.96% 0.115 259.9)
XYZxyz(24.8017, 24.7785, 61.8563)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89CE #CEA45F
analogous
#5FC1CE #5F89CE #6D5FCE
triadic
#5F89CE #CE5F89 #89CE5F
tetradic
#5F89CE #CE5FC1 #CEA45F #5FCE6D
square
#5F89CE #CE5FC1 #CEA45F #5FCE6D
split-complementary
#5F89CE #CE6D5F #C1CE5F
monochromatic
#2A4E89 #3868B8 #5F89CE #8EACDC #BDCEEB

Accessibility & contrast

On white

3.53
#5F89CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5F89CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89CE#FFFFFF#000000##000000
##5F89CE1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#6084CD
Tritanopia (blue-blind)
#2098A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f89ce;
/* rgb */ color: rgb(95, 137, 206);
/* oklch */ color: oklch(63.0% 0.115 259.9);
Tailwind
colors: {
  custom: {
    50: '#93abdd',
    500: '#5f89ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f89ce;
$custom-light: #93abdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89ce",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 206
  },
  "hsl": {
    "h": 217.297,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6296,
    "c": 0.11464,
    "h": 259.9
  },
  "luminance": 0.2478
}

Semantic roles & 50–950 ramp

primary
#5F89CE
secondary
#DACAAF
accent
#A64BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F89CE

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

Preview Lab → · Contrast checker → · Palette generator →

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