#5B6FCF#5B6FCF

#5B6FCF is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.149 H 272.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B6FCF
RGBrgb(91, 111, 207)
HSLhsl(230, 55%, 58%)
HSVhsv(230, 56%, 81%)
CMYKcmyk(56%, 46.4%, 0%, 18.8%)
CIE-LABlab(49.61, 20.69, -52.10)
CIE-LCHlch(49.61, 56.06, 291.66°)
OKLaboklab(57.33% 0.0054 -0.1485)
OKLCHoklch(57.33% 0.149 272.1)
XYZxyz(21.2576, 18.0965, 61.3922)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6FCF #CFBB5B
analogous
#5BA9CF #5B6FCF #815BCF
triadic
#5B6FCF #CF5B6F #6FCF5B
tetradic
#5B6FCF #CF5BA9 #CFBB5B #5BCF81
square
#5B6FCF #CF5BA9 #CFBB5B #5BCF81
split-complementary
#5B6FCF #CF815B #A9CF5B
monochromatic
#283888 #364CB7 #5B6FCF #8A99DD #BAC2EB

Accessibility & contrast

On white

4.55
#5B6FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5B6FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6FCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6FCF#FFFFFF#000000##000000
##5B6FCF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#158495
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6fcf;
/* rgb */ color: rgb(91, 111, 207);
/* oklch */ color: oklch(57.3% 0.149 272.1);
Tailwind
colors: {
  custom: {
    50: '#9298de',
    500: '#5b6fcf',
    950: '#000000',
  },
}
SCSS
$custom: #5b6fcf;
$custom-light: #9298de;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6fcf",
  "rgb": {
    "r": 91,
    "g": 111,
    "b": 207
  },
  "hsl": {
    "h": 229.655,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.14862,
    "h": 272.1
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#5B6FCF
secondary
#DAD2AC
accent
#C44ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5B6FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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