#5B95F4#5B95F4

#5B95F4 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.154 H 259.8°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5B95F4
RGBrgb(91, 149, 244)
HSLhsl(217, 87%, 66%)
HSVhsv(217, 63%, 96%)
CMYKcmyk(62.7%, 38.9%, 0%, 4.3%)
CIE-LABlab(61.87, 9.96, -53.27)
CIE-LCHlch(61.87, 54.19, 280.59°)
OKLaboklab(67.42% -0.0273 -0.1515)
OKLCHoklch(67.42% 0.154 259.8)
XYZxyz(31.3852, 30.2478, 89.7548)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95F4 #F4BA5B
analogous
#5BE1F4 #5B95F4 #6D5BF4
triadic
#5B95F4 #F45B95 #95F45B
tetradic
#5B95F4 #F45BE1 #F4BA5B #5BF46D
square
#5B95F4 #F45BE1 #F4BA5B #5BF46D
split-complementary
#5B95F4 #F46D5B #E1F45B
monochromatic
#0D54C7 #2270F0 #5B95F4 #94BAF8 #CEDFFC

Accessibility & contrast

On white

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

On black

7.05
#5B95F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95F4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95F4#FFFFFF#000000##000000
##5B95F41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF8
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b95f4;
/* rgb */ color: rgb(91, 149, 244);
/* oklch */ color: oklch(67.4% 0.154 259.8);
Tailwind
colors: {
  custom: {
    50: '#96b3f8',
    500: '#5b95f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b95f4;
$custom-light: #96b3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95f4",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 244
  },
  "hsl": {
    "h": 217.255,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6742,
    "c": 0.15396,
    "h": 259.8
  },
  "luminance": 0.30251
}

Semantic roles & 50–950 ramp

primary
#5B95F4
secondary
#EFDCBC
accent
#8E02E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B95F4

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

Preview Lab → · Contrast checker → · Palette generator →

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