#5F9EF8#5F9EF8

#5F9EF8 is a light, vivid blue. Relative luminance 0.337; OKLCH L 69.7% C 0.148 H 257.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#5F9EF8
RGBrgb(95, 158, 248)
HSLhsl(215, 92%, 67%)
HSVhsv(215, 62%, 97%)
CMYKcmyk(61.7%, 36.3%, 0%, 2.7%)
CIE-LABlab(64.69, 6.72, -50.97)
CIE-LCHlch(64.69, 51.42, 277.51°)
OKLaboklab(69.73% -0.0322 -0.1446)
OKLCHoklch(69.73% 0.148 257.4)
XYZxyz(33.8834, 33.6608, 93.5003)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EF8 #F8B95F
analogous
#5FEBF8 #5F9EF8 #6C5FF8
triadic
#5F9EF8 #F85F9E #9EF85F
tetradic
#5F9EF8 #F85FEB #F8B95F #5FF86C
square
#5F9EF8 #F85FEB #F8B95F #5FF86C
split-complementary
#5F9EF8 #F86C5F #EBF85F
monochromatic
#095CD3 #247AF5 #5F9EF8 #9AC2FB #D4E5FD

Accessibility & contrast

On white

2.72
#5F9EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#5F9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EF8
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EF8#FFFFFF#000000##000000
##5F9EF81.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#6296F6
Tritanopia (blue-blind)
#00B2BF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5f9ef8;
/* rgb */ color: rgb(95, 158, 248);
/* oklch */ color: oklch(69.7% 0.148 257.4);
Tailwind
colors: {
  custom: {
    50: '#99bafb',
    500: '#5f9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ef8;
$custom-light: #99bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ef8",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 215.294,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69729,
    "c": 0.14818,
    "h": 257.4
  },
  "luminance": 0.33664
}

Semantic roles & 50–950 ramp

primary
#5F9EF8
secondary
#F2DEC1
accent
#8700E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5F9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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