#5F97EA#5F97EA

#5F97EA is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.137 H 258.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5F97EA
RGBrgb(95, 151, 234)
HSLhsl(216, 77%, 65%)
HSVhsv(216, 59%, 92%)
CMYKcmyk(59.4%, 35.5%, 0%, 8.2%)
CIE-LABlab(62.09, 6.23, -47.40)
CIE-LCHlch(62.09, 47.81, 277.48°)
OKLaboklab(67.47% -0.0284 -0.1343)
OKLCHoklch(67.47% 0.137 258.1)
XYZxyz(30.6320, 30.5039, 82.0995)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F97EA #EAB25F
analogous
#5FDDEA #5F97EA #6C5FEA
triadic
#5F97EA #EA5F97 #97EA5F
tetradic
#5F97EA #EA5FDD #EAB25F #5FEA6C
square
#5F97EA #EA5FDD #EAB25F #5FEA6C
split-complementary
#5F97EA #EA6C5F #DDEA5F
monochromatic
#1858B7 #2974E3 #5F97EA #95BAF1 #CBDDF8

Accessibility & contrast

On white

2.96
#5F97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5F97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F97EA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F97EA#FFFFFF#000000##000000
##5F97EA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DED
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5f97ea;
/* rgb */ color: rgb(95, 151, 234);
/* oklch */ color: oklch(67.5% 0.137 258.1);
Tailwind
colors: {
  custom: {
    50: '#97b5f1',
    500: '#5f97ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f97ea;
$custom-light: #97b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f97ea",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 215.827,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67474,
    "c": 0.13723,
    "h": 258.1
  },
  "luminance": 0.30507
}

Semantic roles & 50–950 ramp

primary
#5F97EA
secondary
#EAD7BA
accent
#870CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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