#5B95F0#5B95F0

#5B95F0 is a light, vivid blue. Relative luminance 0.300; OKLCH L 67.2% C 0.149 H 259.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5B95F0
RGBrgb(91, 149, 240)
HSLhsl(217, 83%, 65%)
HSVhsv(217, 62%, 94%)
CMYKcmyk(62.1%, 37.9%, 0%, 5.9%)
CIE-LABlab(61.66, 8.63, -51.40)
CIE-LCHlch(61.66, 52.12, 279.53°)
OKLaboklab(67.19% -0.0282 -0.146)
OKLCHoklch(67.19% 0.149 259.1)
XYZxyz(30.7844, 30.0075, 86.5909)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95F0 #F0B65B
analogous
#5BE0F0 #5B95F0 #6B5BF0
triadic
#5B95F0 #F05B95 #95F05B
tetradic
#5B95F0 #F05BE0 #F0B65B #5BF06B
square
#5B95F0 #F05BE0 #F0B65B #5BF06B
split-complementary
#5B95F0 #F06B5B #E0F05B
monochromatic
#1155BF #2371EB #5B95F0 #93B9F5 #CBDDFA

Accessibility & contrast

On white

3.00
#5B95F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5B95F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95F0
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95F0#FFFFFF#000000##000000
##5B95F01.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b95f0;
/* rgb */ color: rgb(91, 149, 240);
/* oklch */ color: oklch(67.2% 0.149 259.1);
Tailwind
colors: {
  custom: {
    50: '#96b3f5',
    500: '#5b95f0',
    950: '#000000',
  },
}
SCSS
$custom: #5b95f0;
$custom-light: #96b3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95f0",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 240
  },
  "hsl": {
    "h": 216.644,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67193,
    "c": 0.14873,
    "h": 259.1
  },
  "luminance": 0.3001
}

Semantic roles & 50–950 ramp

primary
#5B95F0
secondary
#EDD9BA
accent
#8B06E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B95F0

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

Preview Lab → · Contrast checker → · Palette generator →

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