#5B95F1#5B95F1

#5B95F1 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.2% C 0.150 H 259.3°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5B95F1
RGBrgb(91, 149, 241)
HSLhsl(217, 84%, 65%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(62.2%, 38.2%, 0%, 5.5%)
CIE-LABlab(61.71, 8.96, -51.87)
CIE-LCHlch(61.71, 52.64, 279.80°)
OKLaboklab(67.25% -0.028 -0.1474)
OKLCHoklch(67.25% 0.15 259.3)
XYZxyz(30.9334, 30.0670, 87.3754)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95F1 #F1B75B
analogous
#5BE0F1 #5B95F1 #6C5BF1
triadic
#5B95F1 #F15B95 #95F15B
tetradic
#5B95F1 #F15BE0 #F1B75B #5BF16C
square
#5B95F1 #F15BE0 #F1B75B #5BF16C
split-complementary
#5B95F1 #F16C5B #E0F15B
monochromatic
#1055C1 #2371EC #5B95F1 #93B9F6 #CCDEFB

Accessibility & contrast

On white

2.99
#5B95F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#5B95F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95F1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95F1#FFFFFF#000000##000000
##5B95F11.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF5
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b95f1;
/* rgb */ color: rgb(91, 149, 241);
/* oklch */ color: oklch(67.2% 0.150 259.3);
Tailwind
colors: {
  custom: {
    50: '#96b3f6',
    500: '#5b95f1',
    950: '#000000',
  },
}
SCSS
$custom: #5b95f1;
$custom-light: #96b3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95f1",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 241
  },
  "hsl": {
    "h": 216.8,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67249,
    "c": 0.15004,
    "h": 259.3
  },
  "luminance": 0.3007
}

Semantic roles & 50–950 ramp

primary
#5B95F1
secondary
#EDDABA
accent
#8C05E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B95F1

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

Preview Lab → · Contrast checker → · Palette generator →

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