#5F82DB#5F82DB

#5F82DB is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.2% C 0.140 H 266.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5F82DB
RGBrgb(95, 130, 219)
HSLhsl(223, 63%, 62%)
HSVhsv(223, 57%, 86%)
CMYKcmyk(56.6%, 40.6%, 0%, 14.1%)
CIE-LABlab(55.59, 13.82, -49.34)
CIE-LCHlch(55.59, 51.24, 285.64°)
OKLaboklab(62.19% -0.0092 -0.1401)
OKLCHoklch(62.19% 0.14 266.2)
XYZxyz(25.4838, 23.5106, 70.1992)
Luminance0.2351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82DB #DBB85F
analogous
#5FC0DB #5F82DB #7A5FDB
triadic
#5F82DB #DB5F82 #82DB5F
tetradic
#5F82DB #DB5FC0 #DBB85F #5FDB7A
square
#5F82DB #DB5FC0 #DBB85F #5FDB7A
split-complementary
#5F82DB #DB7A5F #C0DB5F
monochromatic
#23459C #2E5CCE #5F82DB #91A9E6 #C3D0F1

Accessibility & contrast

On white

3.68
#5F82DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5F82DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82DB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82DB#FFFFFF#000000##000000
##5F82DB1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8BDE
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f82db;
/* rgb */ color: rgb(95, 130, 219);
/* oklch */ color: oklch(62.2% 0.140 266.2);
Tailwind
colors: {
  custom: {
    50: '#95a5e6',
    500: '#5f82db',
    950: '#000000',
  },
}
SCSS
$custom: #5f82db;
$custom-light: #95a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82db",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 219
  },
  "hsl": {
    "h": 223.065,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62194,
    "c": 0.14044,
    "h": 266.2
  },
  "luminance": 0.23513
}

Semantic roles & 50–950 ramp

primary
#5F82DB
secondary
#E2D5B4
accent
#991ACB
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F82DB

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

Preview Lab → · Contrast checker → · Palette generator →

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