#5B95E9#5B95E9

#5B95E9 is a light, vivid blue. Relative luminance 0.296; OKLCH L 66.8% C 0.140 H 257.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5B95E9
RGBrgb(91, 149, 233)
HSLhsl(215, 76%, 64%)
HSVhsv(215, 61%, 91%)
CMYKcmyk(60.9%, 36.1%, 0%, 8.6%)
CIE-LABlab(61.31, 6.32, -48.10)
CIE-LCHlch(61.31, 48.51, 277.49°)
OKLaboklab(66.8% -0.0298 -0.1364)
OKLCHoklch(66.8% 0.14 257.7)
XYZxyz(29.7646, 29.5995, 81.2197)
Luminance0.2960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95E9 #E9AF5B
analogous
#5BDCE9 #5B95E9 #685BE9
triadic
#5B95E9 #E95B95 #95E95B
tetradic
#5B95E9 #E95BDC #E9AF5B #5BE968
square
#5B95E9 #E95BDC #E9AF5B #5BE968
split-complementary
#5B95E9 #E9685B #DCE95B
monochromatic
#1857B2 #2572E2 #5B95E9 #91B8F0 #C7DBF7

Accessibility & contrast

On white

3.03
#5B95E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#5B95E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B95E9
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95E9#FFFFFF#000000##000000
##5B95E91.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719BEC
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#00A8B4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b95e9;
/* rgb */ color: rgb(91, 149, 233);
/* oklch */ color: oklch(66.8% 0.140 257.7);
Tailwind
colors: {
  custom: {
    50: '#95b3f0',
    500: '#5b95e9',
    950: '#000000',
  },
}
SCSS
$custom: #5b95e9;
$custom-light: #95b3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95e9",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 233
  },
  "hsl": {
    "h": 215.493,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66802,
    "c": 0.13959,
    "h": 257.7
  },
  "luminance": 0.29602
}

Semantic roles & 50–950 ramp

primary
#5B95E9
secondary
#E9D5B7
accent
#850DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B95E9

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

Preview Lab → · Contrast checker → · Palette generator →

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