#5B7CF3#5B7CF3

#5B7CF3 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.3% C 0.182 H 269.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF3
RGBrgb(91, 124, 243)
HSLhsl(227, 86%, 65%)
HSVhsv(227, 63%, 95%)
CMYKcmyk(62.6%, 49%, 0%, 4.7%)
CIE-LABlab(55.18, 24.65, -63.41)
CIE-LCHlch(55.18, 68.03, 291.24°)
OKLaboklab(62.27% -0.0033 -0.1816)
OKLCHoklch(62.27% 0.182 269)
XYZxyz(27.6942, 23.1081, 87.7775)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF3 #F3D25B
analogous
#5BC8F3 #5B7CF3 #865BF3
triadic
#5B7CF3 #F35B7C #7CF35B
tetradic
#5B7CF3 #F35BC8 #F3D25B #5BF386
square
#5B7CF3 #F35BC8 #F3D25B #5BF386
split-complementary
#5B7CF3 #F3865B #C8F35B
monochromatic
#0E36C5 #224EEF #5B7CF3 #94AAF7 #CDD7FB

Accessibility & contrast

On white

3.74
#5B7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5B7CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF3#FFFFFF#000000##000000
##5B7CF31.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#157EF1
Tritanopia (blue-blind)
#0097AC
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7cf3;
/* rgb */ color: rgb(91, 124, 243);
/* oklch */ color: oklch(62.3% 0.182 269.0);
Tailwind
colors: {
  custom: {
    50: '#97a1f8',
    500: '#5b7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf3;
$custom-light: #97a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf3",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 226.974,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6227,
    "c": 0.18165,
    "h": 269
  },
  "luminance": 0.23111
}

Semantic roles & 50–950 ramp

primary
#5B7CF3
secondary
#EEE3BB
accent
#B203E3
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5B7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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