#5B6EF9#5B6EF9

#5B6EF9 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.1% C 0.207 H 272.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B6EF9
RGBrgb(91, 110, 249)
HSLhsl(233, 93%, 67%)
HSVhsv(233, 63%, 98%)
CMYKcmyk(63.5%, 55.8%, 0%, 2.4%)
CIE-LABlab(52.08, 35.18, -71.76)
CIE-LCHlch(52.08, 79.92, 296.12°)
OKLaboklab(60.06% 0.0096 -0.2064)
OKLCHoklch(60.06% 0.207 272.7)
XYZxyz(26.9835, 20.2132, 92.0837)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6EF9 #F9E65B
analogous
#5BBDF9 #5B6EF9 #975BF9
triadic
#5B6EF9 #F95B6E #6EF95B
tetradic
#5B6EF9 #F95BBD #F9E65B #5BF997
square
#5B6EF9 #F95BBD #F9E65B #5BF997
split-complementary
#5B6EF9 #F9975B #BDF95B
monochromatic
#0820D2 #203AF7 #5B6EF9 #96A2FB #D1D6FD

Accessibility & contrast

On white

4.16
#5B6EF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B6EF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6EF9
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6EF9#FFFFFF#000000##000000
##5B6EF91.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#008FA9
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b6ef9;
/* rgb */ color: rgb(91, 110, 249);
/* oklch */ color: oklch(60.1% 0.207 272.7);
Tailwind
colors: {
  custom: {
    50: '#9997fc',
    500: '#5b6ef9',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ef9;
$custom-light: #9997fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ef9",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 249
  },
  "hsl": {
    "h": 232.785,
    "s": 92.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60057,
    "c": 0.20659,
    "h": 272.7
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#5B6EF9
secondary
#F1EBBE
accent
#CA00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D18
muted
#7F7E86

Preview Lab

Preview with #5B6EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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