#5B95EF#5B95EF

#5B95EF is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.1% C 0.147 H 258.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5B95EF
RGBrgb(91, 149, 239)
HSLhsl(216, 82%, 65%)
HSVhsv(216, 62%, 94%)
CMYKcmyk(61.9%, 37.7%, 0%, 6.3%)
CIE-LABlab(61.61, 8.30, -50.93)
CIE-LCHlch(61.61, 51.60, 279.25°)
OKLaboklab(67.14% -0.0284 -0.1447)
OKLCHoklch(67.14% 0.147 258.9)
XYZxyz(30.6363, 29.9482, 85.8107)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95EF #EFB55B
analogous
#5BDFEF #5B95EF #6B5BEF
triadic
#5B95EF #EF5B95 #95EF5B
tetradic
#5B95EF #EF5BDF #EFB55B #5BEF6B
square
#5B95EF #EF5BDF #EFB55B #5BEF6B
split-complementary
#5B95EF #EF6B5B #DFEF5B
monochromatic
#1255BD #2371EA #5B95EF #93B9F4 #CBDDFA

Accessibility & contrast

On white

3.00
#5B95EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5B95EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B95EF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95EF#FFFFFF#000000##000000
##5B95EF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b95ef;
/* rgb */ color: rgb(91, 149, 239);
/* oklch */ color: oklch(67.1% 0.147 258.9);
Tailwind
colors: {
  custom: {
    50: '#96b3f5',
    500: '#5b95ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b95ef;
$custom-light: #96b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95ef",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 239
  },
  "hsl": {
    "h": 216.486,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67136,
    "c": 0.14742,
    "h": 258.9
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#5B95EF
secondary
#ECD8BA
accent
#8A07DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B95EF

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

Preview Lab → · Contrast checker → · Palette generator →

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