#5F84DF#5F84DF

#5F84DF is a light, vivid blue. Relative luminance 0.243; OKLCH L 62.8% C 0.144 H 265.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5F84DF
RGBrgb(95, 132, 223)
HSLhsl(223, 67%, 62%)
HSVhsv(223, 57%, 87%)
CMYKcmyk(57.4%, 40.8%, 0%, 12.5%)
CIE-LABlab(56.35, 13.91, -50.38)
CIE-LCHlch(56.35, 52.27, 285.44°)
OKLaboklab(62.85% -0.0106 -0.1432)
OKLCHoklch(62.85% 0.144 265.8)
XYZxyz(26.2853, 24.2610, 73.0954)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84DF #DFBA5F
analogous
#5FC4DF #5F84DF #7A5FDF
triadic
#5F84DF #DF5F84 #84DF5F
tetradic
#5F84DF #DF5FC4 #DFBA5F #5FDF7A
square
#5F84DF #DF5FC4 #DFBA5F #5FDF7A
split-complementary
#5F84DF #DF7A5F #C4DF5F
monochromatic
#2146A3 #2C5DD5 #5F84DF #92ABE9 #C5D2F3

Accessibility & contrast

On white

3.59
#5F84DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#5F84DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84DF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84DF#FFFFFF#000000##000000
##5F84DF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8DE3
Deuteranopia (green-blind)
#4C82DD
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f84df;
/* rgb */ color: rgb(95, 132, 223);
/* oklch */ color: oklch(62.8% 0.144 265.8);
Tailwind
colors: {
  custom: {
    50: '#96a7e9',
    500: '#5f84df',
    950: '#000000',
  },
}
SCSS
$custom: #5f84df;
$custom-light: #96a7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84df",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 222.656,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62845,
    "c": 0.14357,
    "h": 265.8
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#5F84DF
secondary
#E4D7B6
accent
#9917CF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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