#5F89CD#5F89CD

#5F89CD is a light, moderate blue. Relative luminance 0.247; OKLCH L 62.9% C 0.113 H 259.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5F89CD
RGBrgb(95, 137, 205)
HSLhsl(217, 52%, 59%)
HSVhsv(217, 54%, 80%)
CMYKcmyk(53.7%, 33.2%, 0%, 19.6%)
CIE-LABlab(56.81, 5.15, -39.53)
CIE-LCHlch(56.81, 39.87, 277.42°)
OKLaboklab(62.91% -0.0203 -0.1115)
OKLCHoklch(62.91% 0.113 259.7)
XYZxyz(24.6807, 24.7301, 61.2186)
Luminance0.2473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89CD #CDA35F
analogous
#5FC0CD #5F89CD #6C5FCD
triadic
#5F89CD #CD5F89 #89CD5F
tetradic
#5F89CD #CD5FC0 #CDA35F #5FCD6C
square
#5F89CD #CD5FC0 #CDA35F #5FCD6C
split-complementary
#5F89CD #CD6C5F #C0CD5F
monochromatic
#2A4E87 #3969B6 #5F89CD #8EABDC #BCCEEA

Accessibility & contrast

On white

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

On black

5.95
#5F89CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89CD
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89CD#FFFFFF#000000##000000
##5F89CD1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ED0
Deuteranopia (green-blind)
#6084CC
Tritanopia (blue-blind)
#2198A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f89cd;
/* rgb */ color: rgb(95, 137, 205);
/* oklch */ color: oklch(62.9% 0.113 259.7);
Tailwind
colors: {
  custom: {
    50: '#93abdc',
    500: '#5f89cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f89cd;
$custom-light: #93abdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89cd",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 217.091,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.11329,
    "h": 259.7
  },
  "luminance": 0.24732
}

Semantic roles & 50–950 ramp

primary
#5F89CD
secondary
#DAC9AE
accent
#A54CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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