#5B95FE#5B95FE

#5B95FE is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.0% C 0.167 H 261.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5B95FE
RGBrgb(91, 149, 254)
HSLhsl(219, 99%, 68%)
HSVhsv(219, 64%, 100%)
CMYKcmyk(64.2%, 41.3%, 0%, 0.4%)
CIE-LABlab(62.40, 13.30, -57.91)
CIE-LCHlch(62.40, 59.42, 282.93°)
OKLaboklab(68.01% -0.0253 -0.1651)
OKLCHoklch(68.01% 0.167 261.3)
XYZxyz(32.9449, 30.8716, 97.9693)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B95FE #FEC45B
analogous
#5BE7FE #5B95FE #725BFE
triadic
#5B95FE #FE5B95 #95FE5B
tetradic
#5B95FE #FE5BE7 #FEC45B #5BFE72
square
#5B95FE #FE5BE7 #FEC45B #5BFE72
split-complementary
#5B95FE #FE725B #E7FE5B
monochromatic
#0150DD #1E6EFE #5B95FE #98BCFE #D5E4FF

Accessibility & contrast

On white

2.93
#5B95FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5B95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B95FE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B95FE#FFFFFF#000000##000000
##5B95FE1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#00ADBD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b95fe;
/* rgb */ color: rgb(91, 149, 254);
/* oklch */ color: oklch(68.0% 0.167 261.3);
Tailwind
colors: {
  custom: {
    50: '#98b3ff',
    500: '#5b95fe',
    950: '#000000',
  },
}
SCSS
$custom: #5b95fe;
$custom-light: #98b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b95fe",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 218.65,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68005,
    "c": 0.16705,
    "h": 261.3
  },
  "luminance": 0.30875
}

Semantic roles & 50–950 ramp

primary
#5B95FE
secondary
#F4E2C1
accent
#9400E6
background
#FAFAFF
surface
#F3F5FF
border
#CDCFD7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5B95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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