#5A67C1#5A67C1

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

Color values

HEX#5A67C1
RGBrgb(90, 103, 193)
HSLhsl(232, 45%, 55%)
HSVhsv(232, 53%, 76%)
CMYKcmyk(53.4%, 46.6%, 0%, 24.3%)
CIE-LABlab(46.61, 20.88, -48.88)
CIE-LCHlch(46.61, 53.15, 293.14°)
OKLaboklab(54.77% 0.0113 -0.1391)
OKLCHoklch(54.77% 0.14 274.7)
XYZxyz(18.6893, 15.7232, 52.4918)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C1 #C1B45A
analogous
#5A9AC1 #5A67C1 #805AC1
triadic
#5A67C1 #C15A67 #67C15A
tetradic
#5A67C1 #C15A9A #C1B45A #5AC180
square
#5A67C1 #C15A9A #C1B45A #5AC180
split-complementary
#5A67C1 #C1805A #9AC15A
monochromatic
#2C3575 #3D49A1 #5A67C1 #8690D2 #B3B9E2

Accessibility & contrast

On white

5.07
#5A67C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5A67C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C1#FFFFFF#000000##FFFFFF
##5A67C11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C4
Deuteranopia (green-blind)
#336ABF
Tritanopia (blue-blind)
#297B8B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a67c1;
/* rgb */ color: rgb(90, 103, 193);
/* oklch */ color: oklch(54.8% 0.140 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d4',
    500: '#5a67c1',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c1;
$custom-light: #9092d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c1",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 193
  },
  "hsl": {
    "h": 232.427,
    "s": 45.374,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54765,
    "c": 0.13961,
    "h": 274.7
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#5A67C1
secondary
#D1CBA6
accent
#C553D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C1

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

Preview Lab → · Contrast checker → · Palette generator →

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