#5F89C8#5F89C8

#5F89C8 is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.6% C 0.107 H 258.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5F89C8
RGBrgb(95, 137, 200)
HSLhsl(216, 49%, 58%)
HSVhsv(216, 53%, 78%)
CMYKcmyk(52.5%, 31.5%, 0%, 21.6%)
CIE-LABlab(56.58, 3.58, -37.08)
CIE-LCHlch(56.58, 37.25, 275.51°)
OKLaboklab(62.65% -0.0216 -0.1043)
OKLCHoklch(62.65% 0.107 258.3)
XYZxyz(24.0867, 24.4925, 58.0906)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89C8 #C89E5F
analogous
#5FBDC8 #5F89C8 #695FC8
triadic
#5F89C8 #C85F89 #89C85F
tetradic
#5F89C8 #C85FBD #C89E5F #5FC869
square
#5F89C8 #C85FBD #C89E5F #5FC869
split-complementary
#5F89C8 #C8695F #BDC85F
monochromatic
#2C4E80 #3C69AE #5F89C8 #8DABD8 #BACCE7

Accessibility & contrast

On white

3.56
#5F89C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5F89C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89C8
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89C8#FFFFFF#000000##000000
##5F89C81.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#28979F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f89c8;
/* rgb */ color: rgb(95, 137, 200);
/* oklch */ color: oklch(62.6% 0.107 258.3);
Tailwind
colors: {
  custom: {
    50: '#93abd9',
    500: '#5f89c8',
    950: '#000000',
  },
}
SCSS
$custom: #5f89c8;
$custom-light: #93abd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89c8",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 200
  },
  "hsl": {
    "h": 216,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62648,
    "c": 0.10654,
    "h": 258.3
  },
  "luminance": 0.24494
}

Semantic roles & 50–950 ramp

primary
#5F89C8
secondary
#D6C6AC
accent
#A24FD8
background
#F9FAFD
surface
#F2F4FA
border
#CCCED3
text
#0D1014
muted
#7E7F83

Preview Lab

Preview with #5F89C8

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

Preview Lab → · Contrast checker → · Palette generator →

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