#5F82FC#5F82FC

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

Color values

HEX#5F82FC
RGBrgb(95, 130, 252)
HSLhsl(227, 96%, 68%)
HSVhsv(227, 62%, 99%)
CMYKcmyk(62.3%, 48.4%, 0%, 1.2%)
CIE-LABlab(57.49, 24.69, -64.67)
CIE-LCHlch(57.49, 69.22, 290.89°)
OKLaboklab(64.25% -0.0042 -0.1852)
OKLCHoklch(64.25% 0.185 268.7)
XYZxyz(30.2667, 25.4238, 95.3889)
Luminance0.2543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F82FC #FCD95F
analogous
#5FD1FC #5F82FC #8A5FFC
triadic
#5F82FC #FC5F82 #82FC5F
tetradic
#5F82FC #FC5FD1 #FCD95F #5FFC8A
square
#5F82FC #FC5FD1 #FCD95F #5FFC8A
split-complementary
#5F82FC #FC8A5F #D1FC5F
monochromatic
#0434DC #2353FB #5F82FC #9BB1FD #D7E0FE

Accessibility & contrast

On white

3.45
#5F82FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#5F82FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F82FC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F82FC#FFFFFF#000000##000000
##5F82FC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f82fc;
/* rgb */ color: rgb(95, 130, 252);
/* oklch */ color: oklch(64.3% 0.185 268.7);
Tailwind
colors: {
  custom: {
    50: '#9aa5fe',
    500: '#5f82fc',
    950: '#000000',
  },
}
SCSS
$custom: #5f82fc;
$custom-light: #9aa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f82fc",
  "rgb": {
    "r": 95,
    "g": 130,
    "b": 252
  },
  "hsl": {
    "h": 226.624,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.18522,
    "h": 268.7
  },
  "luminance": 0.25426
}

Semantic roles & 50–950 ramp

primary
#5F82FC
secondary
#F3E9C3
accent
#B200E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5F82FC

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

Preview Lab → · Contrast checker → · Palette generator →

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