#5A67CB#5A67CB

#5A67CB is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.154 H 274.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5A67CB
RGBrgb(90, 103, 203)
HSLhsl(233, 52%, 57%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(55.7%, 49.3%, 0%, 20.4%)
CIE-LABlab(47.22, 24.13, -53.66)
CIE-LCHlch(47.22, 58.84, 294.21°)
OKLaboklab(55.42% 0.0125 -0.1532)
OKLCHoklch(55.42% 0.154 274.7)
XYZxyz(19.8427, 16.1846, 58.5666)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67CB #CBBE5A
analogous
#5AA0CB #5A67CB #855ACB
triadic
#5A67CB #CB5A67 #67CB5A
tetradic
#5A67CB #CB5AA0 #CBBE5A #5ACB85
square
#5A67CB #CB5AA0 #CBBE5A #5ACB85
split-complementary
#5A67CB #CB855A #A0CB5A
monochromatic
#293382 #3845B0 #5A67CB #8992DA #B7BDE8

Accessibility & contrast

On white

4.96
#5A67CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5A67CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67CB#FFFFFF#000000##FFFFFF
##5A67CB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#256BC9
Tritanopia (blue-blind)
#1B7D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a67cb;
/* rgb */ color: rgb(90, 103, 203);
/* oklch */ color: oklch(55.4% 0.154 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192db',
    500: '#5a67cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a67cb;
$custom-light: #9192db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67cb",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 203
  },
  "hsl": {
    "h": 233.097,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.15372,
    "h": 274.7
  },
  "luminance": 0.16186
}

Semantic roles & 50–950 ramp

primary
#5A67CB
secondary
#D7D2AA
accent
#CB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67CB

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

Preview Lab → · Contrast checker → · Palette generator →

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