#5F89DB#5F89DB

#5F89DB is a light, vivid blue. Relative luminance 0.254; OKLCH L 63.7% C 0.132 H 262.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5F89DB
RGBrgb(95, 137, 219)
HSLhsl(220, 63%, 62%)
HSVhsv(220, 57%, 86%)
CMYKcmyk(56.6%, 37.4%, 0%, 14.1%)
CIE-LABlab(57.50, 9.62, -46.32)
CIE-LCHlch(57.50, 47.31, 281.73°)
OKLaboklab(63.67% -0.0169 -0.1312)
OKLCHoklch(63.67% 0.132 262.7)
XYZxyz(26.4468, 25.4366, 70.5202)
Luminance0.2544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89DB #DBB15F
analogous
#5FC7DB #5F89DB #735FDB
triadic
#5F89DB #DB5F89 #89DB5F
tetradic
#5F89DB #DB5FC7 #DBB15F #5FDB73
square
#5F89DB #DB5FC7 #DBB15F #5FDB73
split-complementary
#5F89DB #DB735F #C7DB5F
monochromatic
#234C9C #2E65CE #5F89DB #91AEE6 #C3D3F1

Accessibility & contrast

On white

3.45
#5F89DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5F89DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89DB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89DB#FFFFFF#000000##000000
##5F89DB1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DE
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#009BA7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f89db;
/* rgb */ color: rgb(95, 137, 219);
/* oklch */ color: oklch(63.7% 0.132 262.7);
Tailwind
colors: {
  custom: {
    50: '#95abe6',
    500: '#5f89db',
    950: '#000000',
  },
}
SCSS
$custom: #5f89db;
$custom-light: #95abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89db",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 219.677,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63666,
    "c": 0.13232,
    "h": 262.7
  },
  "luminance": 0.25439
}

Semantic roles & 50–950 ramp

primary
#5F89DB
secondary
#E2D2B4
accent
#8F1ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E1016
muted
#7E7F84

Preview Lab

Preview with #5F89DB

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

Preview Lab → · Contrast checker → · Palette generator →

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