#5B7FF3#5B7FF3

#5B7FF3 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.178 H 268.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5B7FF3
RGBrgb(91, 127, 243)
HSLhsl(226, 86%, 65%)
HSVhsv(226, 63%, 95%)
CMYKcmyk(62.6%, 47.7%, 0%, 4.7%)
CIE-LABlab(55.96, 22.83, -62.16)
CIE-LCHlch(55.96, 66.22, 290.16°)
OKLaboklab(62.86% -0.0061 -0.1779)
OKLCHoklch(62.86% 0.178 268)
XYZxyz(28.0759, 23.8715, 87.9047)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7FF3 #F3CF5B
analogous
#5BCBF3 #5B7FF3 #835BF3
triadic
#5B7FF3 #F35B7F #7FF35B
tetradic
#5B7FF3 #F35BCB #F3CF5B #5BF383
square
#5B7FF3 #F35BCB #F3CF5B #5BF383
split-complementary
#5B7FF3 #F3835B #CBF35B
monochromatic
#0E3AC5 #2252EF #5B7FF3 #94ACF7 #CDD8FB

Accessibility & contrast

On white

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

On black

5.77
#5B7FF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7FF3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7FF3#FFFFFF#000000##000000
##5B7FF31.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#2380F1
Tritanopia (blue-blind)
#009AAD
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b7ff3;
/* rgb */ color: rgb(91, 127, 243);
/* oklch */ color: oklch(62.9% 0.178 268.0);
Tailwind
colors: {
  custom: {
    50: '#97a3f8',
    500: '#5b7ff3',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ff3;
$custom-light: #97a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ff3",
  "rgb": {
    "r": 91,
    "g": 127,
    "b": 243
  },
  "hsl": {
    "h": 225.789,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6286,
    "c": 0.17802,
    "h": 268
  },
  "luminance": 0.23874
}

Semantic roles & 50–950 ramp

primary
#5B7FF3
secondary
#EEE2BB
accent
#AE03E3
background
#FAFAFF
surface
#F3F3FF
border
#CDCDD7
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #5B7FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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