#5B95EB#5B95EB

#5B95EB is a light, vivid blue. Relative luminance 0.297; OKLCH L 66.9% C 0.142 H 258.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5B95EB
RGBrgb(91, 149, 235)
HSLhsl(216, 78%, 64%)
HSVhsv(216, 61%, 92%)
CMYKcmyk(61.3%, 36.6%, 0%, 7.8%)
CIE-LABlab(61.41, 6.98, -49.04)
CIE-LCHlch(61.41, 49.54, 278.10°)
OKLaboklab(66.91% -0.0293 -0.1391)
OKLCHoklch(66.91% 0.142 258.1)
XYZxyz(30.0519, 29.7144, 82.7329)
Luminance0.2972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95EB #EBB15B
analogous
#5BDDEB #5B95EB #695BEB
triadic
#5B95EB #EB5B95 #95EB5B
tetradic
#5B95EB #EB5BDD #EBB15B #5BEB69
square
#5B95EB #EB5BDD #EBB15B #5BEB69
split-complementary
#5B95EB #EB695B #DDEB5B
monochromatic
#1656B5 #2472E4 #5B95EB #92B8F2 #C8DCF8

Accessibility & contrast

On white

3.02
#5B95EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#5B95EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B95EB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95EB#FFFFFF#000000##000000
##5B95EB1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#709CEF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b95eb;
/* rgb */ color: rgb(91, 149, 235);
/* oklch */ color: oklch(66.9% 0.142 258.1);
Tailwind
colors: {
  custom: {
    50: '#95b3f2',
    500: '#5b95eb',
    950: '#000000',
  },
}
SCSS
$custom: #5b95eb;
$custom-light: #95b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95eb",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 235
  },
  "hsl": {
    "h": 215.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.1422,
    "h": 258.1
  },
  "luminance": 0.29717
}

Semantic roles & 50–950 ramp

primary
#5B95EB
secondary
#EAD6B8
accent
#870BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B95EB

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

Preview Lab → · Contrast checker → · Palette generator →

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