#5B6FDF#5B6FDF

#5B6FDF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.4% C 0.171 H 272.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5B6FDF
RGBrgb(91, 111, 223)
HSLhsl(231, 67%, 62%)
HSVhsv(231, 59%, 87%)
CMYKcmyk(59.2%, 50.2%, 0%, 12.5%)
CIE-LABlab(50.59, 25.95, -59.61)
CIE-LCHlch(50.59, 65.01, 293.53°)
OKLaboklab(58.39% 0.0072 -0.1706)
OKLCHoklch(58.39% 0.171 272.4)
XYZxyz(23.3137, 18.9189, 72.2209)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FDF #DFCB5B
analogous
#5BB1DF #5B6FDF #895BDF
triadic
#5B6FDF #DF5B6F #6FDF5B
tetradic
#5B6FDF #DF5BB1 #DFCB5B #5BDF89
square
#5B6FDF #DF5BB1 #DFCB5B #5BDF89
split-complementary
#5B6FDF #DF895B #B1DF5B
monochromatic
#1F33A0 #2943D4 #5B6FDF #8E9CE9 #C1C9F3

Accessibility & contrast

On white

4.39
#5B6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5B6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FDF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FDF#FFFFFF#000000##000000
##5B6FDF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327EE3
Deuteranopia (green-blind)
#1473DD
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5b6fdf;
/* rgb */ color: rgb(91, 111, 223);
/* oklch */ color: oklch(58.4% 0.171 272.4);
Tailwind
colors: {
  custom: {
    50: '#9498ea',
    500: '#5b6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fdf;
$custom-light: #9498ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fdf",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 230.909,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58391,
    "c": 0.17074,
    "h": 272.4
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#5B6FDF
secondary
#E3DCB2
accent
#B316CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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