#5F82DD#5F82DD

#5F82DD is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.3% C 0.143 H 266.5°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5F82DD
RGBrgb(95, 130, 221)
HSLhsl(223, 65%, 62%)
HSVhsv(223, 57%, 87%)
CMYKcmyk(57%, 41.2%, 0%, 13.3%)
CIE-LABlab(55.70, 14.47, -50.29)
CIE-LCHlch(55.70, 52.33, 286.05°)
OKLaboklab(62.31% -0.0088 -0.1429)
OKLCHoklch(62.31% 0.143 266.5)
XYZxyz(25.7487, 23.6166, 71.5942)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82DD #DDBA5F
analogous
#5FC1DD #5F82DD #7B5FDD
triadic
#5F82DD #DD5F82 #82DD5F
tetradic
#5F82DD #DD5FC1 #DDBA5F #5FDD7B
square
#5F82DD #DD5FC1 #DDBA5F #5FDD7B
split-complementary
#5F82DD #DD7B5F #C1DD5F
monochromatic
#2245A0 #2D5BD2 #5F82DD #91A9E8 #C4D1F2

Accessibility & contrast

On white

3.67
#5F82DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5F82DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82DD
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82DD#FFFFFF#000000##000000
##5F82DD1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8CE1
Deuteranopia (green-blind)
#4A80DB
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f82dd;
/* rgb */ color: rgb(95, 130, 221);
/* oklch */ color: oklch(62.3% 0.143 266.5);
Tailwind
colors: {
  custom: {
    50: '#96a5e8',
    500: '#5f82dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f82dd;
$custom-light: #96a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82dd",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 221
  },
  "hsl": {
    "h": 223.333,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62312,
    "c": 0.1432,
    "h": 266.5
  },
  "luminance": 0.23619
}

Semantic roles & 50–950 ramp

primary
#5F82DD
secondary
#E3D6B5
accent
#9B19CD
background
#F9FAFE
surface
#F2F4FC
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5F82DD

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

Preview Lab → · Contrast checker → · Palette generator →

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