#5B7CF2#5B7CF2

#5B7CF2 is a light, vivid blue. Relative luminance 0.231; OKLCH L 62.2% C 0.180 H 268.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF2
RGBrgb(91, 124, 242)
HSLhsl(227, 85%, 65%)
HSVhsv(227, 62%, 95%)
CMYKcmyk(62.4%, 48.8%, 0%, 5.1%)
CIE-LABlab(55.12, 24.32, -62.95)
CIE-LCHlch(55.12, 67.49, 291.12°)
OKLaboklab(62.2% -0.0034 -0.1803)
OKLCHoklch(62.2% 0.18 268.9)
XYZxyz(27.5436, 23.0478, 86.9844)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF2 #F2D15B
analogous
#5BC8F2 #5B7CF2 #855BF2
triadic
#5B7CF2 #F25B7C #7CF25B
tetradic
#5B7CF2 #F25BC8 #F2D15B #5BF285
square
#5B7CF2 #F25BC8 #F2D15B #5BF285
split-complementary
#5B7CF2 #F2855B #C8F25B
monochromatic
#0F37C3 #224FEE #5B7CF2 #94A9F6 #CCD7FB

Accessibility & contrast

On white

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

On black

5.61
#5B7CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF2#FFFFFF#000000##000000
##5B7CF21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8BF6
Deuteranopia (green-blind)
#197EF0
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7cf2;
/* rgb */ color: rgb(91, 124, 242);
/* oklch */ color: oklch(62.2% 0.180 268.9);
Tailwind
colors: {
  custom: {
    50: '#97a1f7',
    500: '#5b7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf2;
$custom-light: #97a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf2",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 226.887,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.18031,
    "h": 268.9
  },
  "luminance": 0.2305
}

Semantic roles & 50–950 ramp

primary
#5B7CF2
secondary
#EEE3BB
accent
#B104E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5B7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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