#5B95F2#5B95F2

#5B95F2 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.3% C 0.151 H 259.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5B95F2
RGBrgb(91, 149, 242)
HSLhsl(217, 85%, 65%)
HSVhsv(217, 62%, 95%)
CMYKcmyk(62.4%, 38.4%, 0%, 5.1%)
CIE-LABlab(61.76, 9.29, -52.34)
CIE-LCHlch(61.76, 53.16, 280.07°)
OKLaboklab(67.31% -0.0277 -0.1488)
OKLCHoklch(67.31% 0.151 259.4)
XYZxyz(31.0832, 30.1269, 88.1642)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95F2 #F2B85B
analogous
#5BE0F2 #5B95F2 #6D5BF2
triadic
#5B95F2 #F25B95 #95F25B
tetradic
#5B95F2 #F25BE0 #F2B85B #5BF26D
square
#5B95F2 #F25BE0 #F2B85B #5BF26D
split-complementary
#5B95F2 #F26D5B #E0F25B
monochromatic
#0F54C3 #2270EE #5B95F2 #94BAF6 #CCDEFB

Accessibility & contrast

On white

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

On black

7.03
#5B95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95F2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95F2#FFFFFF#000000##000000
##5B95F21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9DF6
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b95f2;
/* rgb */ color: rgb(91, 149, 242);
/* oklch */ color: oklch(67.3% 0.151 259.4);
Tailwind
colors: {
  custom: {
    50: '#96b3f7',
    500: '#5b95f2',
    950: '#000000',
  },
}
SCSS
$custom: #5b95f2;
$custom-light: #96b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95f2",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 216.954,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.15134,
    "h": 259.4
  },
  "luminance": 0.3013
}

Semantic roles & 50–950 ramp

primary
#5B95F2
secondary
#EEDABB
accent
#8C04E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5B95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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