#5F9EFD#5F9EFD

#5F9EFD is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.0% C 0.155 H 258.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5F9EFD
RGBrgb(95, 158, 253)
HSLhsl(216, 98%, 68%)
HSVhsv(216, 62%, 99%)
CMYKcmyk(62.5%, 37.5%, 0%, 0.8%)
CIE-LABlab(64.94, 8.36, -53.31)
CIE-LCHlch(64.94, 53.96, 278.91°)
OKLaboklab(70.01% -0.0311 -0.1515)
OKLCHoklch(70.01% 0.155 258.4)
XYZxyz(34.6695, 33.9752, 97.6403)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EFD #FDBE5F
analogous
#5FEDFD #5F9EFD #6F5FFD
triadic
#5F9EFD #FD5F9E #9EFD5F
tetradic
#5F9EFD #FD5FED #FDBE5F #5FFD6F
square
#5F9EFD #FD5FED #FDBE5F #5FFD6F
split-complementary
#5F9EFD #FD6F5F #EDFD5F
monochromatic
#035BDF #2379FC #5F9EFD #9BC3FE #D8E7FF

Accessibility & contrast

On white

2.69
#5F9EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5F9EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EFD
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EFD#FFFFFF#000000##000000
##5F9EFD1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#5E97FB
Tritanopia (blue-blind)
#00B4C1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5f9efd;
/* rgb */ color: rgb(95, 158, 253);
/* oklch */ color: oklch(70.0% 0.155 258.4);
Tailwind
colors: {
  custom: {
    50: '#9abafe',
    500: '#5f9efd',
    950: '#000000',
  },
}
SCSS
$custom: #5f9efd;
$custom-light: #9abafe;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9efd",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 253
  },
  "hsl": {
    "h": 216.076,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70006,
    "c": 0.15461,
    "h": 258.4
  },
  "luminance": 0.33978
}

Semantic roles & 50–950 ramp

primary
#5F9EFD
secondary
#F4E1C4
accent
#8A00E6
background
#FAFBFF
surface
#F4F6FF
border
#CED0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5F9EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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