#5F82EA#5F82EA

#5F82EA is a light, vivid blue. Relative luminance 0.243; OKLCH L 63.1% C 0.161 H 267.7°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F82EA
RGBrgb(95, 130, 234)
HSLhsl(225, 77%, 65%)
HSVhsv(225, 59%, 92%)
CMYKcmyk(59.4%, 44.4%, 0%, 8.2%)
CIE-LABlab(56.42, 18.73, -56.41)
CIE-LCHlch(56.42, 59.43, 288.36°)
OKLaboklab(63.1% -0.0066 -0.1609)
OKLCHoklch(63.1% 0.161 267.7)
XYZxyz(27.5482, 24.3364, 81.0716)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82EA #EAC75F
analogous
#5FC8EA #5F82EA #825FEA
triadic
#5F82EA #EA5F82 #82EA5F
tetradic
#5F82EA #EA5FC8 #EAC75F #5FEA82
square
#5F82EA #EA5FC8 #EAC75F #5FEA82
split-complementary
#5F82EA #EA825F #C8EA5F
monochromatic
#1840B7 #2958E3 #5F82EA #95ACF1 #CBD7F8

Accessibility & contrast

On white

3.58
#5F82EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5F82EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82EA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82EA#FFFFFF#000000##000000
##5F82EA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#3D81E8
Tritanopia (blue-blind)
#0099AB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f82ea;
/* rgb */ color: rgb(95, 130, 234);
/* oklch */ color: oklch(63.1% 0.161 267.7);
Tailwind
colors: {
  custom: {
    50: '#97a5f1',
    500: '#5f82ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f82ea;
$custom-light: #97a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82ea",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 224.892,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63099,
    "c": 0.16101,
    "h": 267.7
  },
  "luminance": 0.24339
}

Semantic roles & 50–950 ramp

primary
#5F82EA
secondary
#EADEBA
accent
#A60CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F82EA

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

Preview Lab → · Contrast checker → · Palette generator →

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