#5B6FE9#5B6FE9

#5B6FE9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.184 H 272.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B6FE9
RGBrgb(91, 111, 233)
HSLhsl(232, 76%, 64%)
HSVhsv(232, 61%, 91%)
CMYKcmyk(60.9%, 52.4%, 0%, 8.6%)
CIE-LABlab(51.24, 29.26, -64.19)
CIE-LCHlch(51.24, 70.55, 294.51°)
OKLaboklab(59.08% 0.008 -0.1841)
OKLCHoklch(59.08% 0.184 272.5)
XYZxyz(24.7019, 19.4742, 79.5322)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FE9 #E9D55B
analogous
#5BB6E9 #5B6FE9 #8E5BE9
triadic
#5B6FE9 #E95B6F #6FE95B
tetradic
#5B6FE9 #E95BB6 #E9D55B #5BE98E
square
#5B6FE9 #E95BB6 #E9D55B #5BE98E
split-complementary
#5B6FE9 #E98E5B #B6E95B
monochromatic
#182EB2 #2540E2 #5B6FE9 #919EF0 #C7CEF7

Accessibility & contrast

On white

4.29
#5B6FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5B6FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FE9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FE9#FFFFFF#000000##000000
##5B6FE91.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008BA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b6fe9;
/* rgb */ color: rgb(91, 111, 233);
/* oklch */ color: oklch(59.1% 0.184 272.5);
Tailwind
colors: {
  custom: {
    50: '#9698f1',
    500: '#5b6fe9',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fe9;
$custom-light: #9698f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fe9",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 233
  },
  "hsl": {
    "h": 231.549,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.18426,
    "h": 272.5
  },
  "luminance": 0.19476
}

Semantic roles & 50–950 ramp

primary
#5B6FE9
secondary
#E9E2B7
accent
#BC0DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5B6FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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