#5B7EEE#5B7EEE

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

Color values

HEX#5B7EEE
RGBrgb(91, 126, 238)
HSLhsl(226, 81%, 65%)
HSVhsv(226, 62%, 93%)
CMYKcmyk(61.8%, 47.1%, 0%, 6.7%)
CIE-LABlab(55.40, 21.76, -60.29)
CIE-LCHlch(55.40, 64.09, 289.85°)
OKLaboklab(62.33% -0.0058 -0.1724)
OKLCHoklch(62.33% 0.173 268.1)
XYZxyz(27.2026, 23.3165, 83.9393)
Luminance0.2332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EEE #EECB5B
analogous
#5BC8EE #5B7EEE #825BEE
triadic
#5B7EEE #EE5B7E #7EEE5B
tetradic
#5B7EEE #EE5BC8 #EECB5B #5BEE82
square
#5B7EEE #EE5BC8 #EECB5B #5BEE82
split-complementary
#5B7EEE #EE825B #C8EE5B
monochromatic
#133BBB #2452E8 #5B7EEE #92AAF4 #CAD5F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7EEE#FFFFFF#000000##000000
##5B7EEE1.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)
#468CF2
Deuteranopia (green-blind)
#2A7EEC
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5b7eee;
/* rgb */ color: rgb(91, 126, 238);
/* oklch */ color: oklch(62.3% 0.173 268.1);
Tailwind
colors: {
  custom: {
    50: '#96a2f4',
    500: '#5b7eee',
    950: '#000000',
  },
}
SCSS
$custom: #5b7eee;
$custom-light: #96a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7eee",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 225.714,
    "s": 81.215,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62335,
    "c": 0.17251,
    "h": 268.1
  },
  "luminance": 0.23319
}

Semantic roles & 50–950 ramp

primary
#5B7EEE
secondary
#ECE0B9
accent
#AB08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5B7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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