#5F84CB#5F84CB

#5F84CB is a mid, moderate blue. Relative luminance 0.232; OKLCH L 61.7% C 0.116 H 262.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5F84CB
RGBrgb(95, 132, 203)
HSLhsl(219, 51%, 58%)
HSVhsv(219, 53%, 80%)
CMYKcmyk(53.2%, 35%, 0%, 20.4%)
CIE-LABlab(55.32, 7.48, -40.74)
CIE-LCHlch(55.32, 41.42, 280.40°)
OKLaboklab(61.72% -0.015 -0.115)
OKLCHoklch(61.72% 0.116 262.6)
XYZxyz(23.7464, 23.2455, 59.7238)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84CB #CBA65F
analogous
#5FBACB #5F84CB #705FCB
triadic
#5F84CB #CB5F84 #84CB5F
tetradic
#5F84CB #CB5FBA #CBA65F #5FCB70
square
#5F84CB #CB5FBA #CBA65F #5FCB70
split-complementary
#5F84CB #CB705F #BACB5F
monochromatic
#2B4A85 #3A63B3 #5F84CB #8DA8DA #BBCBE9

Accessibility & contrast

On white

3.72
#5F84CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#5F84CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84CB#FFFFFF#000000##000000
##5F84CB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#688ACE
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#26949E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f84cb;
/* rgb */ color: rgb(95, 132, 203);
/* oklch */ color: oklch(61.7% 0.116 262.6);
Tailwind
colors: {
  custom: {
    50: '#93a7db',
    500: '#5f84cb',
    950: '#000000',
  },
}
SCSS
$custom: #5f84cb;
$custom-light: #93a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84cb",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 219.444,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.11599,
    "h": 262.6
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#5F84CB
secondary
#D8CAAD
accent
#AA4DDA
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0E0F15
muted
#7E7F83

Preview Lab

Preview with #5F84CB

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

Preview Lab → · Contrast checker → · Palette generator →

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