#5B95ED#5B95ED

#5B95ED is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.0% C 0.145 H 258.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5B95ED
RGBrgb(91, 149, 237)
HSLhsl(216, 80%, 64%)
HSVhsv(216, 62%, 93%)
CMYKcmyk(61.6%, 37.1%, 0%, 7.1%)
CIE-LABlab(61.51, 7.64, -49.99)
CIE-LCHlch(61.51, 50.57, 278.69°)
OKLaboklab(67.02% -0.0289 -0.1419)
OKLCHoklch(67.02% 0.145 258.5)
XYZxyz(30.3425, 29.8307, 84.2632)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95ED #EDB35B
analogous
#5BDEED #5B95ED #6A5BED
triadic
#5B95ED #ED5B95 #95ED5B
tetradic
#5B95ED #ED5BDE #EDB35B #5BED6A
square
#5B95ED #ED5BDE #EDB35B #5BED6A
split-complementary
#5B95ED #ED6A5B #DEED5B
monochromatic
#1456B9 #2471E7 #5B95ED #92B9F3 #C9DCF9

Accessibility & contrast

On white

3.01
#5B95ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5B95ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B95ED
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95ED#FFFFFF#000000##000000
##5B95ED1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#00A9B6
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5b95ed;
/* rgb */ color: rgb(91, 149, 237);
/* oklch */ color: oklch(67.0% 0.145 258.5);
Tailwind
colors: {
  custom: {
    50: '#95b3f3',
    500: '#5b95ed',
    950: '#000000',
  },
}
SCSS
$custom: #5b95ed;
$custom-light: #95b3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95ed",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 237
  },
  "hsl": {
    "h": 216.164,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67024,
    "c": 0.14481,
    "h": 258.5
  },
  "luminance": 0.29833
}

Semantic roles & 50–950 ramp

primary
#5B95ED
secondary
#EBD7B9
accent
#8809DD
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B95ED

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

Preview Lab → · Contrast checker → · Palette generator →

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