#5B7AFE#5B7AFE

#5B7AFE is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.6% C 0.199 H 269.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#5B7AFE
RGBrgb(91, 122, 254)
HSLhsl(229, 99%, 68%)
HSVhsv(229, 64%, 100%)
CMYKcmyk(64.2%, 52%, 0%, 0.4%)
CIE-LABlab(55.38, 29.56, -69.19)
CIE-LCHlch(55.38, 75.24, 293.13°)
OKLaboklab(62.64% -0.0005 -0.1986)
OKLCHoklch(62.64% 0.199 269.9)
XYZxyz(29.1572, 23.2963, 96.7068)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7AFE #FEDF5B
analogous
#5BCBFE #5B7AFE #8D5BFE
triadic
#5B7AFE #FE5B7A #7AFE5B
tetradic
#5B7AFE #FE5BCB #FEDF5B #5BFE8D
square
#5B7AFE #FE5BCB #FEDF5B #5BFE8D
split-complementary
#5B7AFE #FE8D5B #CBFE5B
monochromatic
#012BDD #1E49FE #5B7AFE #98ABFE #D5DDFF

Accessibility & contrast

On white

3.71
#5B7AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#5B7AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7AFE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7AFE#FFFFFF#000000##000000
##5B7AFE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#248CFF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#0099B0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7afe;
/* rgb */ color: rgb(91, 122, 254);
/* oklch */ color: oklch(62.6% 0.199 269.9);
Tailwind
colors: {
  custom: {
    50: '#99a0ff',
    500: '#5b7afe',
    950: '#000000',
  },
}
SCSS
$custom: #5b7afe;
$custom-light: #99a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7afe",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 228.589,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.19864,
    "h": 269.9
  },
  "luminance": 0.23299
}

Semantic roles & 50–950 ramp

primary
#5B7AFE
secondary
#F4EAC1
accent
#BA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5B7AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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