#5A67B6#5A67B6

#5A67B6 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.1% C 0.124 H 274.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5A67B6
RGBrgb(90, 103, 182)
HSLhsl(232, 39%, 53%)
HSVhsv(232, 51%, 71%)
CMYKcmyk(50.5%, 43.4%, 0%, 28.6%)
CIE-LABlab(45.98, 17.35, -43.51)
CIE-LCHlch(45.98, 46.84, 291.75°)
OKLaboklab(54.08% 0.0097 -0.1234)
OKLCHoklch(54.08% 0.124 274.5)
XYZxyz(17.5075, 15.2505, 46.2680)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B6 #B6A95A
analogous
#5A95B6 #5A67B6 #7B5AB6
triadic
#5A67B6 #B65A67 #67B65A
tetradic
#5A67B6 #B65A95 #B6A95A #5AB67B
square
#5A67B6 #B65A95 #B6A95A #5AB67B
split-complementary
#5A67B6 #B67B5A #95B65A
monochromatic
#2E3668 #414C92 #5A67B6 #848EC9 #AFB5DC

Accessibility & contrast

On white

5.18
#5A67B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5A67B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B6#FFFFFF#000000##FFFFFF
##5A67B61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B9
Deuteranopia (green-blind)
#3E69B4
Tritanopia (blue-blind)
#347885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b6;
/* rgb */ color: rgb(90, 103, 182);
/* oklch */ color: oklch(54.1% 0.124 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e92cc',
    500: '#5a67b6',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b6;
$custom-light: #8e92cc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b6",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 182
  },
  "hsl": {
    "h": 231.522,
    "s": 38.655,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54076,
    "c": 0.12378,
    "h": 274.5
  },
  "luminance": 0.15252
}

Semantic roles & 50–950 ramp

primary
#5A67B6
secondary
#CAC4A2
accent
#BE59CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B6

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

Preview Lab → · Contrast checker → · Palette generator →

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