#5F89DC#5F89DC

#5F89DC is a light, vivid blue. Relative luminance 0.255; OKLCH L 63.7% C 0.134 H 262.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F89DC
RGBrgb(95, 137, 220)
HSLhsl(220, 64%, 62%)
HSVhsv(220, 57%, 86%)
CMYKcmyk(56.8%, 37.7%, 0%, 13.7%)
CIE-LABlab(57.55, 9.94, -46.80)
CIE-LCHlch(57.55, 47.84, 282.00°)
OKLaboklab(63.72% -0.0167 -0.1326)
OKLCHoklch(63.72% 0.134 262.8)
XYZxyz(26.5788, 25.4894, 71.2156)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89DC #DCB25F
analogous
#5FC8DC #5F89DC #745FDC
triadic
#5F89DC #DC5F89 #89DC5F
tetradic
#5F89DC #DC5FC8 #DCB25F #5FDC74
square
#5F89DC #DC5FC8 #DCB25F #5FDC74
split-complementary
#5F89DC #DC745F #C8DC5F
monochromatic
#234C9E #2E64D0 #5F89DC #91AEE7 #C3D3F2

Accessibility & contrast

On white

3.44
#5F89DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5F89DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89DC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89DC#FFFFFF#000000##000000
##5F89DC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6690DF
Deuteranopia (green-blind)
#5685DA
Tritanopia (blue-blind)
#009BA8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f89dc;
/* rgb */ color: rgb(95, 137, 220);
/* oklch */ color: oklch(63.7% 0.134 262.8);
Tailwind
colors: {
  custom: {
    50: '#95abe7',
    500: '#5f89dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f89dc;
$custom-light: #95abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89dc",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 220
  },
  "hsl": {
    "h": 219.84,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63722,
    "c": 0.13368,
    "h": 262.8
  },
  "luminance": 0.25492
}

Semantic roles & 50–950 ramp

primary
#5F89DC
secondary
#E3D3B4
accent
#901ACC
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F89DC

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

Preview Lab → · Contrast checker → · Palette generator →

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