#5F82FE#5F82FE

#5F82FE is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.4% C 0.188 H 268.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F82FE
RGBrgb(95, 130, 254)
HSLhsl(227, 99%, 68%)
HSVhsv(227, 63%, 100%)
CMYKcmyk(62.6%, 48.8%, 0%, 0.4%)
CIE-LABlab(57.61, 25.35, -65.58)
CIE-LCHlch(57.61, 70.31, 291.14°)
OKLaboklab(64.39% -0.004 -0.1878)
OKLCHoklch(64.39% 0.188 268.8)
XYZxyz(30.5853, 25.5512, 97.0668)
Luminance0.2555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82FE #FEDB5F
analogous
#5FD2FE #5F82FE #8B5FFE
triadic
#5F82FE #FE5F82 #82FE5F
tetradic
#5F82FE #FE5FD2 #FEDB5F #5FFE8B
square
#5F82FE #FE5FD2 #FEDB5F #5FFE8B
split-complementary
#5F82FE #FE8B5F #D2FE5F
monochromatic
#0133E1 #2252FE #5F82FE #9CB2FE #D9E1FF

Accessibility & contrast

On white

3.44
#5F82FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#5F82FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82FE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82FE#FFFFFF#000000##000000
##5F82FE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#1684FB
Tritanopia (blue-blind)
#009FB4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f82fe;
/* rgb */ color: rgb(95, 130, 254);
/* oklch */ color: oklch(64.4% 0.188 268.8);
Tailwind
colors: {
  custom: {
    50: '#9aa5ff',
    500: '#5f82fe',
    950: '#000000',
  },
}
SCSS
$custom: #5f82fe;
$custom-light: #9aa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82fe",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 254
  },
  "hsl": {
    "h": 226.792,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64385,
    "c": 0.18787,
    "h": 268.8
  },
  "luminance": 0.25554
}

Semantic roles & 50–950 ramp

primary
#5F82FE
secondary
#F4EAC4
accent
#B300E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F82FE

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

Preview Lab → · Contrast checker → · Palette generator →

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