#5A67CD#5A67CD

#5A67CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.157 H 274.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A67CD
RGBrgb(90, 103, 205)
HSLhsl(233, 53%, 58%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(56.1%, 49.8%, 0%, 19.6%)
CIE-LABlab(47.34, 24.79, -54.61)
CIE-LCHlch(47.34, 59.97, 294.41°)
OKLaboklab(55.55% 0.0127 -0.156)
OKLCHoklch(55.55% 0.157 274.7)
XYZxyz(20.0826, 16.2805, 59.8300)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67CD #CDC05A
analogous
#5AA1CD #5A67CD #865ACD
triadic
#5A67CD #CD5A67 #67CD5A
tetradic
#5A67CD #CD5AA1 #CDC05A #5ACD86
square
#5A67CD #CD5AA1 #CDC05A #5ACD86
split-complementary
#5A67CD #CD865A #A1CD5A
monochromatic
#283384 #3645B3 #5A67CD #8992DB #B8BEE9

Accessibility & contrast

On white

4.93
#5A67CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5A67CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67CD#FFFFFF#000000##FFFFFF
##5A67CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#177E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a67cd;
/* rgb */ color: rgb(90, 103, 205);
/* oklch */ color: oklch(55.6% 0.157 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192dd',
    500: '#5a67cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a67cd;
$custom-light: #9192dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67cd",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 205
  },
  "hsl": {
    "h": 233.217,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.55554,
    "c": 0.15651,
    "h": 274.7
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#5A67CD
secondary
#D8D3AA
accent
#CC4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67CD

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

Preview Lab → · Contrast checker → · Palette generator →

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