#5B7CF9#5B7CF9

#5B7CF9 is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.7% C 0.190 H 269.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B7CF9
RGBrgb(91, 124, 249)
HSLhsl(227, 93%, 67%)
HSVhsv(227, 63%, 98%)
CMYKcmyk(63.5%, 50.2%, 0%, 2.4%)
CIE-LABlab(55.56, 26.66, -66.13)
CIE-LCHlch(55.56, 71.30, 291.96°)
OKLaboklab(62.68% -0.0027 -0.1896)
OKLCHoklch(62.68% 0.19 269.2)
XYZxyz(28.6151, 23.4764, 92.6276)
Luminance0.2348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CF9 #F9D85B
analogous
#5BCBF9 #5B7CF9 #895BF9
triadic
#5B7CF9 #F95B7C #7CF95B
tetradic
#5B7CF9 #F95BCB #F9D85B #5BF989
square
#5B7CF9 #F95BCB #F9D85B #5BF989
split-complementary
#5B7CF9 #F9895B #CBF95B
monochromatic
#0832D2 #204DF7 #5B7CF9 #96ABFB #D1DAFD

Accessibility & contrast

On white

3.69
#5B7CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#5B7CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CF9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CF9#FFFFFF#000000##000000
##5B7CF91.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFD
Deuteranopia (green-blind)
#007EF6
Tritanopia (blue-blind)
#0099AF
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7cf9;
/* rgb */ color: rgb(91, 124, 249);
/* oklch */ color: oklch(62.7% 0.190 269.2);
Tailwind
colors: {
  custom: {
    50: '#98a1fc',
    500: '#5b7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cf9;
$custom-light: #98a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cf9",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 227.468,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.18964,
    "h": 269.2
  },
  "luminance": 0.23479
}

Semantic roles & 50–950 ramp

primary
#5B7CF9
secondary
#F1E7BE
accent
#B600E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5B7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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