#5F82EB#5F82EB

#5F82EB is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.2% C 0.162 H 267.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F82EB
RGBrgb(95, 130, 235)
HSLhsl(225, 78%, 65%)
HSVhsv(225, 60%, 92%)
CMYKcmyk(59.6%, 44.7%, 0%, 7.8%)
CIE-LABlab(56.48, 19.06, -56.87)
CIE-LCHlch(56.48, 59.98, 288.52°)
OKLaboklab(63.16% -0.0064 -0.1622)
OKLCHoklch(63.16% 0.162 267.7)
XYZxyz(27.6923, 24.3940, 81.8303)
Luminance0.2440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82EB #EBC85F
analogous
#5FC8EB #5F82EB #825FEB
triadic
#5F82EB #EB5F82 #82EB5F
tetradic
#5F82EB #EB5FC8 #EBC85F #5FEB82
square
#5F82EB #EB5FC8 #EBC85F #5FEB82
split-complementary
#5F82EB #EB825F #C8EB5F
monochromatic
#173FB9 #2958E4 #5F82EB #95ADF2 #CCD7F9

Accessibility & contrast

On white

3.57
#5F82EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#5F82EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82EB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82EB#FFFFFF#000000##000000
##5F82EB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#3C82E9
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f82eb;
/* rgb */ color: rgb(95, 130, 235);
/* oklch */ color: oklch(63.2% 0.162 267.7);
Tailwind
colors: {
  custom: {
    50: '#98a5f2',
    500: '#5f82eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f82eb;
$custom-light: #98a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82eb",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 225,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63162,
    "c": 0.16237,
    "h": 267.7
  },
  "luminance": 0.24396
}

Semantic roles & 50–950 ramp

primary
#5F82EB
secondary
#EBDFBB
accent
#A60BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5F82EB

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

Preview Lab → · Contrast checker → · Palette generator →

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