#5B7FF2#5B7FF2

#5B7FF2 is a light, vivid blue. Relative luminance 0.238; OKLCH L 62.8% C 0.177 H 268.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF2
RGBrgb(91, 127, 242)
HSLhsl(226, 85%, 65%)
HSVhsv(226, 62%, 95%)
CMYKcmyk(62.4%, 47.5%, 0%, 5.1%)
CIE-LABlab(55.90, 22.49, -61.70)
CIE-LCHlch(55.90, 65.68, 290.03°)
OKLaboklab(62.79% -0.0063 -0.1766)
OKLCHoklch(62.79% 0.177 268)
XYZxyz(27.9253, 23.8112, 87.1116)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF2 #F2CE5B
analogous
#5BCBF2 #5B7FF2 #825BF2
triadic
#5B7FF2 #F25B7F #7FF25B
tetradic
#5B7FF2 #F25BCB #F2CE5B #5BF282
square
#5B7FF2 #F25BCB #F2CE5B #5BF282
split-complementary
#5B7FF2 #F2825B #CBF25B
monochromatic
#0F3AC3 #2253EE #5B7FF2 #94ABF6 #CCD8FB

Accessibility & contrast

On white

3.64
#5B7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5B7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF2#FFFFFF#000000##000000
##5B7FF21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#2580F0
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ff2;
/* rgb */ color: rgb(91, 127, 242);
/* oklch */ color: oklch(62.8% 0.177 268.0);
Tailwind
colors: {
  custom: {
    50: '#97a3f7',
    500: '#5b7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff2;
$custom-light: #97a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff2",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 225.695,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.17668,
    "h": 268
  },
  "luminance": 0.23814
}

Semantic roles & 50–950 ramp

primary
#5B7FF2
secondary
#EEE2BB
accent
#AD04E2
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5B7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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