#5B7EE9#5B7EE9

#5B7EE9 is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.0% C 0.166 H 267.8°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5B7EE9
RGBrgb(91, 126, 233)
HSLhsl(225, 76%, 64%)
HSVhsv(225, 61%, 91%)
CMYKcmyk(60.9%, 45.9%, 0%, 8.6%)
CIE-LABlab(55.10, 20.09, -57.98)
CIE-LCHlch(55.10, 61.36, 289.11°)
OKLaboklab(62.01% -0.0065 -0.1656)
OKLCHoklch(62.01% 0.166 267.8)
XYZxyz(26.4782, 23.0268, 80.1243)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7EE9 #E9C65B
analogous
#5BC5E9 #5B7EE9 #7F5BE9
triadic
#5B7EE9 #E95B7E #7EE95B
tetradic
#5B7EE9 #E95BC5 #E9C65B #5BE97F
square
#5B7EE9 #E95BC5 #E9C65B #5BE97F
split-complementary
#5B7EE9 #E97F5B #C5E95B
monochromatic
#183EB2 #2554E2 #5B7EE9 #91A8F0 #C7D3F7

Accessibility & contrast

On white

3.75
#5B7EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7EE9#FFFFFF#000000##000000
##5B7EE91.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#327EE7
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5b7ee9;
/* rgb */ color: rgb(91, 126, 233);
/* oklch */ color: oklch(62.0% 0.166 267.8);
Tailwind
colors: {
  custom: {
    50: '#95a2f1',
    500: '#5b7ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5b7ee9;
$custom-light: #95a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7ee9",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 233
  },
  "hsl": {
    "h": 225.211,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62012,
    "c": 0.16575,
    "h": 267.8
  },
  "luminance": 0.23029
}

Semantic roles & 50–950 ramp

primary
#5B7EE9
secondary
#E9DDB7
accent
#A60DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #5B7EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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