#5F95EA#5F95EA

#5F95EA is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.0% C 0.139 H 259.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5F95EA
RGBrgb(95, 149, 234)
HSLhsl(217, 77%, 65%)
HSVhsv(217, 59%, 92%)
CMYKcmyk(59.4%, 36.3%, 0%, 8.2%)
CIE-LABlab(61.54, 7.40, -48.27)
CIE-LCHlch(61.54, 48.83, 278.71°)
OKLaboklab(67.05% -0.0263 -0.1368)
OKLCHoklch(67.05% 0.139 259.1)
XYZxyz(30.3128, 29.8656, 81.9932)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95EA #EAB45F
analogous
#5FDAEA #5F95EA #6F5FEA
triadic
#5F95EA #EA5F95 #95EA5F
tetradic
#5F95EA #EA5FDA #EAB45F #5FEA6F
square
#5F95EA #EA5FDA #EAB45F #5FEA6F
split-complementary
#5F95EA #EA6F5F #DAEA5F
monochromatic
#1856B7 #2971E3 #5F95EA #95B9F1 #CBDDF8

Accessibility & contrast

On white

3.01
#5F95EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5F95EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F95EA
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95EA#FFFFFF#000000##000000
##5F95EA1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CED
Deuteranopia (green-blind)
#5E8FE8
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f95ea;
/* rgb */ color: rgb(95, 149, 234);
/* oklch */ color: oklch(67.0% 0.139 259.1);
Tailwind
colors: {
  custom: {
    50: '#97b3f1',
    500: '#5f95ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f95ea;
$custom-light: #97b3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95ea",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 234
  },
  "hsl": {
    "h": 216.691,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.13932,
    "h": 259.1
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#5F95EA
secondary
#EAD8BA
accent
#8A0CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5F95EA

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

Preview Lab → · Contrast checker → · Palette generator →

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