#5F84DA#5F84DA

#5F84DA is a light, vivid blue. Relative luminance 0.240; OKLCH L 62.6% C 0.137 H 265.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5F84DA
RGBrgb(95, 132, 218)
HSLhsl(222, 62%, 61%)
HSVhsv(222, 56%, 85%)
CMYKcmyk(56.4%, 39.4%, 0%, 14.5%)
CIE-LABlab(56.08, 12.29, -48.00)
CIE-LCHlch(56.08, 49.55, 284.36°)
OKLaboklab(62.55% -0.0116 -0.1362)
OKLCHoklch(62.55% 0.137 265.1)
XYZxyz(25.6212, 23.9954, 69.5975)
Luminance0.2400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84DA #DAB55F
analogous
#5FC2DA #5F84DA #785FDA
triadic
#5F84DA #DA5F84 #84DA5F
tetradic
#5F84DA #DA5FC2 #DAB55F #5FDA78
square
#5F84DA #DA5FC2 #DAB55F #5FDA78
split-complementary
#5F84DA #DA785F #C2DA5F
monochromatic
#24489B #2F5FCD #5F84DA #91AAE5 #C2D0F1

Accessibility & contrast

On white

3.62
#5F84DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5F84DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84DA
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84DA#FFFFFF#000000##000000
##5F84DA1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#608CDD
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#0297A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f84da;
/* rgb */ color: rgb(95, 132, 218);
/* oklch */ color: oklch(62.6% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#95a7e6',
    500: '#5f84da',
    950: '#000000',
  },
}
SCSS
$custom: #5f84da;
$custom-light: #95a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84da",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 218
  },
  "hsl": {
    "h": 221.951,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.62554,
    "c": 0.13669,
    "h": 265.1
  },
  "luminance": 0.23997
}

Semantic roles & 50–950 ramp

primary
#5F84DA
secondary
#E1D4B3
accent
#961BCA
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F84DA

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

Preview Lab → · Contrast checker → · Palette generator →

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