#5A67B4#5A67B4

#5A67B4 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.121 H 274.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5A67B4
RGBrgb(90, 103, 180)
HSLhsl(231, 38%, 53%)
HSVhsv(231, 50%, 71%)
CMYKcmyk(50%, 42.8%, 0%, 29.4%)
CIE-LABlab(45.86, 16.72, -42.52)
CIE-LCHlch(45.86, 45.69, 291.46°)
OKLaboklab(53.96% 0.0093 -0.1205)
OKLCHoklch(53.96% 0.121 274.4)
XYZxyz(17.3023, 15.1684, 45.1872)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B4 #B4A75A
analogous
#5A94B4 #5A67B4 #7A5AB4
triadic
#5A67B4 #B45A67 #67B45A
tetradic
#5A67B4 #B45A94 #B4A75A #5AB47A
square
#5A67B4 #B45A94 #B4A75A #5AB47A
split-complementary
#5A67B4 #B47A5A #94B45A
monochromatic
#2E3665 #414D90 #5A67B4 #848EC7 #AEB5DA

Accessibility & contrast

On white

5.21
#5A67B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A67B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B4#FFFFFF#000000##FFFFFF
##5A67B41.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#367785
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b4;
/* rgb */ color: rgb(90, 103, 180);
/* oklch */ color: oklch(54.0% 0.121 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e92cb',
    500: '#5a67b4',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b4;
$custom-light: #8e92cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b4",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 180
  },
  "hsl": {
    "h": 231.333,
    "s": 37.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53955,
    "c": 0.12087,
    "h": 274.4
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#5A67B4
secondary
#C8C3A1
accent
#BD5ACD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B4

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

Preview Lab → · Contrast checker → · Palette generator →

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