#5F89CB#5F89CB

#5F89CB is a light, moderate blue. Relative luminance 0.246; OKLCH L 62.8% C 0.111 H 259.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5F89CB
RGBrgb(95, 137, 203)
HSLhsl(217, 51%, 58%)
HSVhsv(217, 53%, 80%)
CMYKcmyk(53.2%, 32.5%, 0%, 20.4%)
CIE-LABlab(56.72, 4.52, -38.55)
CIE-LCHlch(56.72, 38.82, 276.68°)
OKLaboklab(62.8% -0.0208 -0.1086)
OKLCHoklch(62.8% 0.111 259.1)
XYZxyz(24.4408, 24.6342, 59.9553)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89CB #CBA15F
analogous
#5FBFCB #5F89CB #6B5FCB
triadic
#5F89CB #CB5F89 #89CB5F
tetradic
#5F89CB #CB5FBF #CBA15F #5FCB6B
square
#5F89CB #CB5FBF #CBA15F #5FCB6B
split-complementary
#5F89CB #CB6B5F #BFCB5F
monochromatic
#2B4E85 #3A69B3 #5F89CB #8DABDA #BBCDE9

Accessibility & contrast

On white

3.54
#5F89CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5F89CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89CB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89CB#FFFFFF#000000##000000
##5F89CB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECE
Deuteranopia (green-blind)
#6283CA
Tritanopia (blue-blind)
#2498A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f89cb;
/* rgb */ color: rgb(95, 137, 203);
/* oklch */ color: oklch(62.8% 0.111 259.1);
Tailwind
colors: {
  custom: {
    50: '#93abdb',
    500: '#5f89cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f89cb;
$custom-light: #93abdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89cb",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 216.667,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62803,
    "c": 0.11059,
    "h": 259.1
  },
  "luminance": 0.24636
}

Semantic roles & 50–950 ramp

primary
#5F89CB
secondary
#D8C8AD
accent
#A44DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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