#5F82F8#5F82F8

#5F82F8 is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.0% C 0.180 H 268.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5F82F8
RGBrgb(95, 130, 248)
HSLhsl(226, 92%, 67%)
HSVhsv(226, 62%, 97%)
CMYKcmyk(61.7%, 47.6%, 0%, 2.7%)
CIE-LABlab(57.24, 23.36, -62.85)
CIE-LCHlch(57.24, 67.05, 290.39°)
OKLaboklab(63.99% -0.0047 -0.1798)
OKLCHoklch(63.99% 0.18 268.5)
XYZxyz(29.6395, 25.1729, 92.0856)
Luminance0.2517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82F8 #F8D55F
analogous
#5FCEF8 #5F82F8 #895FF8
triadic
#5F82F8 #F85F82 #82F85F
tetradic
#5F82F8 #F85FCE #F8D55F #5FF889
square
#5F82F8 #F85FCE #F8D55F #5FF889
split-complementary
#5F82F8 #F8895F #CEF85F
monochromatic
#0937D3 #2454F5 #5F82F8 #9AB0FB #D4DEFD

Accessibility & contrast

On white

3.48
#5F82F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5F82F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82F8
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82F8#FFFFFF#000000##000000
##5F82F81.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4591FC
Deuteranopia (green-blind)
#2783F6
Tritanopia (blue-blind)
#009DB1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f82f8;
/* rgb */ color: rgb(95, 130, 248);
/* oklch */ color: oklch(64.0% 0.180 268.5);
Tailwind
colors: {
  custom: {
    50: '#99a5fb',
    500: '#5f82f8',
    950: '#000000',
  },
}
SCSS
$custom: #5f82f8;
$custom-light: #99a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82f8",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 248
  },
  "hsl": {
    "h": 226.275,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6399,
    "c": 0.17989,
    "h": 268.5
  },
  "luminance": 0.25175
}

Semantic roles & 50–950 ramp

primary
#5F82F8
secondary
#F2E6C1
accent
#B100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5F82F8

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

Preview Lab → · Contrast checker → · Palette generator →

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