#5F88CB#5F88CB

#5F88CB is a light, moderate blue. Relative luminance 0.244; OKLCH L 62.6% C 0.112 H 259.9°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F88CB
RGBrgb(95, 136, 203)
HSLhsl(217, 51%, 58%)
HSVhsv(217, 53%, 80%)
CMYKcmyk(53.2%, 33%, 0%, 20.4%)
CIE-LABlab(56.44, 5.11, -38.99)
CIE-LCHlch(56.44, 39.33, 277.46°)
OKLaboklab(62.59% -0.0197 -0.1099)
OKLCHoklch(62.59% 0.112 259.9)
XYZxyz(24.2993, 24.3512, 59.9081)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88CB #CBA25F
analogous
#5FBECB #5F88CB #6C5FCB
triadic
#5F88CB #CB5F88 #88CB5F
tetradic
#5F88CB #CB5FBE #CBA25F #5FCB6C
square
#5F88CB #CB5FBE #CBA25F #5FCB6C
split-complementary
#5F88CB #CB6C5F #BECB5F
monochromatic
#2B4D85 #3A68B3 #5F88CB #8DAADA #BBCDE9

Accessibility & contrast

On white

3.58
#5F88CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5F88CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88CB#FFFFFF#000000##000000
##5F88CB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCE
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#2497A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f88cb;
/* rgb */ color: rgb(95, 136, 203);
/* oklch */ color: oklch(62.6% 0.112 259.9);
Tailwind
colors: {
  custom: {
    50: '#93aadb',
    500: '#5f88cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f88cb;
$custom-light: #93aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88cb",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 203
  },
  "hsl": {
    "h": 217.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62585,
    "c": 0.11164,
    "h": 259.9
  },
  "luminance": 0.24353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F88CB

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

Preview Lab → · Contrast checker → · Palette generator →

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