#5B95E7#5B95E7

#5B95E7 is a light, vivid blue. Relative luminance 0.295; OKLCH L 66.7% C 0.137 H 257.2°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5B95E7
RGBrgb(91, 149, 231)
HSLhsl(215, 74%, 63%)
HSVhsv(215, 61%, 91%)
CMYKcmyk(60.6%, 35.5%, 0%, 9.4%)
CIE-LABlab(61.21, 5.66, -47.15)
CIE-LCHlch(61.21, 47.48, 276.85°)
OKLaboklab(66.69% -0.0303 -0.1336)
OKLCHoklch(66.69% 0.137 257.2)
XYZxyz(29.4805, 29.4859, 79.7236)
Luminance0.2949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95E7 #E7AD5B
analogous
#5BDBE7 #5B95E7 #675BE7
triadic
#5B95E7 #E75B95 #95E75B
tetradic
#5B95E7 #E75BDB #E7AD5B #5BE767
square
#5B95E7 #E75BDB #E7AD5B #5BE767
split-complementary
#5B95E7 #E7675B #DBE75B
monochromatic
#1957AE #2672DF #5B95E7 #90B8EF #C6DAF7

Accessibility & contrast

On white

3.04
#5B95E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5B95E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B95E7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95E7#FFFFFF#000000##000000
##5B95E71.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEA
Deuteranopia (green-blind)
#5F8EE5
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b95e7;
/* rgb */ color: rgb(91, 149, 231);
/* oklch */ color: oklch(66.7% 0.137 257.2);
Tailwind
colors: {
  custom: {
    50: '#95b3ef',
    500: '#5b95e7',
    950: '#000000',
  },
}
SCSS
$custom: #5b95e7;
$custom-light: #95b3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95e7",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 215.143,
    "s": 74.468,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66693,
    "c": 0.13699,
    "h": 257.2
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#5B95E7
secondary
#E8D3B6
accent
#840FD7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B95E7

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

Preview Lab → · Contrast checker → · Palette generator →

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