#5B95F3#5B95F3

#5B95F3 is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.4% C 0.153 H 259.6°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5B95F3
RGBrgb(91, 149, 243)
HSLhsl(217, 86%, 65%)
HSVhsv(217, 63%, 95%)
CMYKcmyk(62.6%, 38.7%, 0%, 4.7%)
CIE-LABlab(61.82, 9.63, -52.80)
CIE-LCHlch(61.82, 53.68, 280.33°)
OKLaboklab(67.36% -0.0275 -0.1501)
OKLCHoklch(67.36% 0.153 259.6)
XYZxyz(31.2338, 30.1872, 88.9574)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95F3 #F3B95B
analogous
#5BE1F3 #5B95F3 #6D5BF3
triadic
#5B95F3 #F35B95 #95F35B
tetradic
#5B95F3 #F35BE1 #F3B95B #5BF36D
square
#5B95F3 #F35BE1 #F3B95B #5BF36D
split-complementary
#5B95F3 #F36D5B #E1F35B
monochromatic
#0E54C5 #2270EF #5B95F3 #94BAF7 #CDDFFB

Accessibility & contrast

On white

2.98
#5B95F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5B95F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95F3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95F3#FFFFFF#000000##000000
##5B95F31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF7
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b95f3;
/* rgb */ color: rgb(91, 149, 243);
/* oklch */ color: oklch(67.4% 0.153 259.6);
Tailwind
colors: {
  custom: {
    50: '#96b3f7',
    500: '#5b95f3',
    950: '#000000',
  },
}
SCSS
$custom: #5b95f3;
$custom-light: #96b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95f3",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 243
  },
  "hsl": {
    "h": 217.105,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.15265,
    "h": 259.6
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#5B95F3
secondary
#EEDBBB
accent
#8D03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B95F3

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

Preview Lab → · Contrast checker → · Palette generator →

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