#5F84DB#5F84DB

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

Color values

HEX#5F84DB
RGBrgb(95, 132, 219)
HSLhsl(222, 63%, 62%)
HSVhsv(222, 57%, 86%)
CMYKcmyk(56.6%, 39.7%, 0%, 14.1%)
CIE-LABlab(56.14, 12.61, -48.48)
CIE-LCHlch(56.14, 50.09, 284.58°)
OKLaboklab(62.61% -0.0114 -0.1376)
OKLCHoklch(62.61% 0.138 265.3)
XYZxyz(25.7524, 24.0479, 70.2887)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F84DB #DBB65F
analogous
#5FC2DB #5F84DB #785FDB
triadic
#5F84DB #DB5F84 #84DB5F
tetradic
#5F84DB #DB5FC2 #DBB65F #5FDB78
square
#5F84DB #DB5FC2 #DBB65F #5FDB78
split-complementary
#5F84DB #DB785F #C2DB5F
monochromatic
#23479C #2E5ECE #5F84DB #91AAE6 #C3D1F1

Accessibility & contrast

On white

3.61
#5F84DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F84DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F84DB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F84DB#FFFFFF#000000##000000
##5F84DB1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8DDE
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f84db;
/* rgb */ color: rgb(95, 132, 219);
/* oklch */ color: oklch(62.6% 0.138 265.3);
Tailwind
colors: {
  custom: {
    50: '#95a7e6',
    500: '#5f84db',
    950: '#000000',
  },
}
SCSS
$custom: #5f84db;
$custom-light: #95a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f84db",
  "rgb": {
    "r": 95,
    "g": 132,
    "b": 219
  },
  "hsl": {
    "h": 222.097,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62612,
    "c": 0.13807,
    "h": 265.3
  },
  "luminance": 0.2405
}

Semantic roles & 50–950 ramp

primary
#5F84DB
secondary
#E2D4B4
accent
#961ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F84DB

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

Preview Lab → · Contrast checker → · Palette generator →

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