#5F8CD2#5F8CD2

#5F8CD2 is a light, moderate blue. Relative luminance 0.258; OKLCH L 63.8% C 0.117 H 258.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5F8CD2
RGBrgb(95, 140, 210)
HSLhsl(217, 56%, 60%)
HSVhsv(217, 55%, 82%)
CMYKcmyk(54.8%, 33.3%, 0%, 17.6%)
CIE-LABlab(57.89, 4.96, -40.66)
CIE-LCHlch(57.89, 40.96, 276.96°)
OKLaboklab(63.82% -0.0224 -0.1147)
OKLCHoklch(63.82% 0.117 258.9)
XYZxyz(25.7262, 25.8402, 64.5922)
Luminance0.2584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8CD2 #D2A55F
analogous
#5FC5D2 #5F8CD2 #6C5FD2
triadic
#5F8CD2 #D25F8C #8CD25F
tetradic
#5F8CD2 #D25FC5 #D2A55F #5FD26C
square
#5F8CD2 #D25FC5 #D2A55F #5FD26C
split-complementary
#5F8CD2 #D26C5F #C5D25F
monochromatic
#28508F #366BBE #5F8CD2 #8FAEDF #BFD1ED

Accessibility & contrast

On white

3.40
#5F8CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#5F8CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8CD2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8CD2#FFFFFF#000000##000000
##5F8CD21.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7091D5
Deuteranopia (green-blind)
#6186D1
Tritanopia (blue-blind)
#179CA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f8cd2;
/* rgb */ color: rgb(95, 140, 210);
/* oklch */ color: oklch(63.8% 0.117 258.9);
Tailwind
colors: {
  custom: {
    50: '#94ade0',
    500: '#5f8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5f8cd2;
$custom-light: #94ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8cd2",
  "rgb": {
    "r": 95,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 216.522,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63821,
    "c": 0.11688,
    "h": 258.9
  },
  "luminance": 0.25842
}

Semantic roles & 50–950 ramp

primary
#5F8CD2
secondary
#DDCBB0
accent
#A448DF
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E1015
muted
#7E7F83

Preview Lab

Preview with #5F8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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