#5F88CF#5F88CF

#5F88CF is a light, moderate blue. Relative luminance 0.245; OKLCH L 62.8% C 0.117 H 260.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5F88CF
RGBrgb(95, 136, 207)
HSLhsl(218, 54%, 59%)
HSVhsv(218, 54%, 81%)
CMYKcmyk(54.1%, 34.3%, 0%, 18.8%)
CIE-LABlab(56.63, 6.37, -40.95)
CIE-LCHlch(56.63, 41.44, 278.84°)
OKLaboklab(62.8% -0.0186 -0.1156)
OKLCHoklch(62.8% 0.117 260.8)
XYZxyz(24.7821, 24.5443, 62.4510)
Luminance0.2455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F88CF #CFA65F
analogous
#5FC0CF #5F88CF #6E5FCF
triadic
#5F88CF #CF5F88 #88CF5F
tetradic
#5F88CF #CF5FC0 #CFA65F #5FCF6E
square
#5F88CF #CF5FC0 #CFA65F #5FCF6E
split-complementary
#5F88CF #CF6E5F #C0CF5F
monochromatic
#294D8A #3867B9 #5F88CF #8EABDD #BDCEEB

Accessibility & contrast

On white

3.55
#5F88CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#5F88CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F88CF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F88CF#FFFFFF#000000##000000
##5F88CF1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8ED2
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#1E98A2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f88cf;
/* rgb */ color: rgb(95, 136, 207);
/* oklch */ color: oklch(62.8% 0.117 260.8);
Tailwind
colors: {
  custom: {
    50: '#94aade',
    500: '#5f88cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f88cf;
$custom-light: #94aade;
$custom-dark: #000000;
JSON
{
  "hex": "#5f88cf",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 207
  },
  "hsl": {
    "h": 218.036,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62796,
    "c": 0.11707,
    "h": 260.8
  },
  "luminance": 0.24546
}

Semantic roles & 50–950 ramp

primary
#5F88CF
secondary
#DBCBAF
accent
#A84BDD
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F88CF

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

Preview Lab → · Contrast checker → · Palette generator →

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