#5F95EE#5F95EE

#5F95EE is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.3% C 0.145 H 259.9°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5F95EE
RGBrgb(95, 149, 238)
HSLhsl(217, 81%, 65%)
HSVhsv(217, 60%, 93%)
CMYKcmyk(60.1%, 37.4%, 0%, 6.7%)
CIE-LABlab(61.74, 8.70, -50.16)
CIE-LCHlch(61.74, 50.91, 279.84°)
OKLaboklab(67.27% -0.0253 -0.1423)
OKLCHoklch(67.27% 0.145 259.9)
XYZxyz(30.8940, 30.0981, 85.0538)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F95EE #EEB85F
analogous
#5FDCEE #5F95EE #715FEE
triadic
#5F95EE #EE5F95 #95EE5F
tetradic
#5F95EE #EE5FDC #EEB85F #5FEE71
square
#5F95EE #EE5FDC #EEB85F #5FEE71
split-complementary
#5F95EE #EE715F #DCEE5F
monochromatic
#1454BE #2870E8 #5F95EE #96BAF4 #CEDEFA

Accessibility & contrast

On white

2.99
#5F95EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#5F95EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F95EE
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F95EE#FFFFFF#000000##000000
##5F95EE1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF2
Deuteranopia (green-blind)
#5B8FEC
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5f95ee;
/* rgb */ color: rgb(95, 149, 238);
/* oklch */ color: oklch(67.3% 0.145 259.9);
Tailwind
colors: {
  custom: {
    50: '#98b3f4',
    500: '#5f95ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f95ee;
$custom-light: #98b3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f95ee",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 238
  },
  "hsl": {
    "h": 217.343,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67269,
    "c": 0.14459,
    "h": 259.9
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#5F95EE
secondary
#ECDABC
accent
#8D08DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F95EE

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

Preview Lab → · Contrast checker → · Palette generator →

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