#5F82FD#5F82FD

#5F82FD is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.3% C 0.187 H 268.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F82FD
RGBrgb(95, 130, 253)
HSLhsl(227, 98%, 68%)
HSVhsv(227, 62%, 99%)
CMYKcmyk(62.5%, 48.6%, 0%, 0.8%)
CIE-LABlab(57.55, 25.02, -65.12)
CIE-LCHlch(57.55, 69.76, 291.02°)
OKLaboklab(64.32% -0.0041 -0.1865)
OKLCHoklch(64.32% 0.187 268.7)
XYZxyz(30.4255, 25.4873, 96.2256)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82FD #FDDA5F
analogous
#5FD1FD #5F82FD #8B5FFD
triadic
#5F82FD #FD5F82 #82FD5F
tetradic
#5F82FD #FD5FD1 #FDDA5F #5FFD8B
square
#5F82FD #FD5FD1 #FDDA5F #5FFD8B
split-complementary
#5F82FD #FD8B5F #D1FD5F
monochromatic
#0334DF #2353FC #5F82FD #9BB1FE #D8E0FF

Accessibility & contrast

On white

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

On black

6.10
#5F82FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82FD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82FD#FFFFFF#000000##000000
##5F82FD1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#1A83FA
Tritanopia (blue-blind)
#009EB3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f82fd;
/* rgb */ color: rgb(95, 130, 253);
/* oklch */ color: oklch(64.3% 0.187 268.7);
Tailwind
colors: {
  custom: {
    50: '#9aa5ff',
    500: '#5f82fd',
    950: '#000000',
  },
}
SCSS
$custom: #5f82fd;
$custom-light: #9aa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82fd",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 253
  },
  "hsl": {
    "h": 226.709,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.64319,
    "c": 0.18654,
    "h": 268.7
  },
  "luminance": 0.2549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F82FD

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

Preview Lab → · Contrast checker → · Palette generator →

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