#5F9EFE#5F9EFE

#5F9EFE is a light, vivid blue. Relative luminance 0.340; OKLCH L 70.1% C 0.156 H 258.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5F9EFE
RGBrgb(95, 158, 254)
HSLhsl(216, 99%, 68%)
HSVhsv(216, 63%, 100%)
CMYKcmyk(62.6%, 37.8%, 0%, 0.4%)
CIE-LABlab(64.99, 8.69, -53.77)
CIE-LCHlch(64.99, 54.47, 279.18°)
OKLaboklab(70.06% -0.0308 -0.1528)
OKLCHoklch(70.06% 0.156 258.6)
XYZxyz(34.8292, 34.0391, 98.4814)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EFE #FEBF5F
analogous
#5FEEFE #5F9EFE #6F5FFE
triadic
#5F9EFE #FE5F9E #9EFE5F
tetradic
#5F9EFE #FE5FEE #FEBF5F #5FFE6F
square
#5F9EFE #FE5FEE #FEBF5F #5FFE6F
split-complementary
#5F9EFE #FE6F5F #EEFE5F
monochromatic
#015AE1 #2279FE #5F9EFE #9CC3FE #D9E8FF

Accessibility & contrast

On white

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

On black

7.81
#5F9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EFE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EFE#FFFFFF#000000##000000
##5F9EFE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9efe;
/* rgb */ color: rgb(95, 158, 254);
/* oklch */ color: oklch(70.1% 0.156 258.6);
Tailwind
colors: {
  custom: {
    50: '#9abaff',
    500: '#5f9efe',
    950: '#000000',
  },
}
SCSS
$custom: #5f9efe;
$custom-light: #9abaff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9efe",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 216.226,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70062,
    "c": 0.1559,
    "h": 258.6
  },
  "luminance": 0.34042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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