#5B7FFC#5B7FFC

#5B7FFC is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.5% C 0.190 H 268.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B7FFC
RGBrgb(91, 127, 252)
HSLhsl(227, 96%, 67%)
HSVhsv(227, 64%, 99%)
CMYKcmyk(63.9%, 49.6%, 0%, 1.2%)
CIE-LABlab(56.51, 25.85, -66.25)
CIE-LCHlch(56.51, 71.11, 291.31°)
OKLaboklab(63.46% -0.0051 -0.1899)
OKLCHoklch(63.46% 0.19 268.4)
XYZxyz(29.4684, 24.4285, 95.2388)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FFC #FCD85B
analogous
#5BCFFC #5B7FFC #885BFC
triadic
#5B7FFC #FC5B7F #7FFC5B
tetradic
#5B7FFC #FC5BCF #FCD85B #5BFC88
square
#5B7FFC #FC5BCF #FCD85B #5BFC88
split-complementary
#5B7FFC #FC885B #CFFC5B
monochromatic
#0434D9 #1F50FB #5B7FFC #97AEFD #D3DDFE

Accessibility & contrast

On white

3.57
#5B7FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5B7FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FFC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FFC#FFFFFF#000000##000000
##5B7FFC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#0081F9
Tritanopia (blue-blind)
#009CB2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b7ffc;
/* rgb */ color: rgb(91, 127, 252);
/* oklch */ color: oklch(63.5% 0.190 268.4);
Tailwind
colors: {
  custom: {
    50: '#98a3fe',
    500: '#5b7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ffc;
$custom-light: #98a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ffc",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 226.584,
    "s": 96.407,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6346,
    "c": 0.19,
    "h": 268.4
  },
  "luminance": 0.24431
}

Semantic roles & 50–950 ramp

primary
#5B7FFC
secondary
#F3E7C0
accent
#B200E6
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5B7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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