#5F8AFC#5F8AFC

#5F8AFC is a light, vivid blue. Relative luminance 0.276; OKLCH L 65.8% C 0.176 H 266.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5F8AFC
RGBrgb(95, 138, 252)
HSLhsl(224, 96%, 68%)
HSVhsv(224, 62%, 99%)
CMYKcmyk(62.3%, 45.2%, 0%, 1.2%)
CIE-LABlab(59.56, 19.87, -61.34)
CIE-LCHlch(59.56, 64.48, 287.94°)
OKLaboklab(65.83% -0.0118 -0.1753)
OKLCHoklch(65.83% 0.176 266.2)
XYZxyz(31.3724, 27.6353, 95.7574)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8AFC #FCD15F
analogous
#5FD8FC #5F8AFC #825FFC
triadic
#5F8AFC #FC5F8A #8AFC5F
tetradic
#5F8AFC #FC5FD8 #FCD15F #5FFC82
square
#5F8AFC #FC5FD8 #FCD15F #5FFC82
split-complementary
#5F8AFC #FC825F #D8FC5F
monochromatic
#043FDC #235EFB #5F8AFC #9BB6FD #D7E2FE

Accessibility & contrast

On white

3.22
#5F8AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#5F8AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8AFC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8AFC#FFFFFF#000000##000000
##5F8AFC1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#3789FA
Tritanopia (blue-blind)
#00A4B7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f8afc;
/* rgb */ color: rgb(95, 138, 252);
/* oklch */ color: oklch(65.8% 0.176 266.2);
Tailwind
colors: {
  custom: {
    50: '#9aabfe',
    500: '#5f8afc',
    950: '#000000',
  },
}
SCSS
$custom: #5f8afc;
$custom-light: #9aabfe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8afc",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 252
  },
  "hsl": {
    "h": 223.567,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65833,
    "c": 0.17568,
    "h": 266.2
  },
  "luminance": 0.27638
}

Semantic roles & 50–950 ramp

primary
#5F8AFC
secondary
#F3E6C3
accent
#A700E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#0F1018
muted
#7F7F86

Preview Lab

Preview with #5F8AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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