#5A67D3#5A67D3

#5A67D3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.0% C 0.165 H 274.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5A67D3
RGBrgb(90, 103, 211)
HSLhsl(234, 58%, 59%)
HSVhsv(234, 57%, 83%)
CMYKcmyk(57.3%, 51.2%, 0%, 17.3%)
CIE-LABlab(47.72, 26.75, -57.42)
CIE-LCHlch(47.72, 63.35, 294.98°)
OKLaboklab(55.96% 0.0133 -0.1643)
OKLCHoklch(55.96% 0.165 274.6)
XYZxyz(20.8207, 16.5758, 63.7177)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67D3 #D3C65A
analogous
#5AA4D3 #5A67D3 #8A5AD3
triadic
#5A67D3 #D35A67 #67D35A
tetradic
#5A67D3 #D35AA4 #D3C65A #5AD38A
square
#5A67D3 #D35AA4 #D3C65A #5AD38A
split-complementary
#5A67D3 #D38A5A #A4D35A
monochromatic
#26318D #3241BD #5A67D3 #8A94E0 #BBC0ED

Accessibility & contrast

On white

4.87
#5A67D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#5A67D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67D3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67D3#FFFFFF#000000##FFFFFF
##5A67D31.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D7
Deuteranopia (green-blind)
#116CD1
Tritanopia (blue-blind)
#058093
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a67d3;
/* rgb */ color: rgb(90, 103, 211);
/* oklch */ color: oklch(56.0% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#9292e1',
    500: '#5a67d3',
    950: '#000000',
  },
}
SCSS
$custom: #5a67d3;
$custom-light: #9292e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67d3",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 211
  },
  "hsl": {
    "h": 233.554,
    "s": 57.895,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55963,
    "c": 0.16481,
    "h": 274.6
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#5A67D3
secondary
#DCD7AD
accent
#D147E1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67D3

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

Preview Lab → · Contrast checker → · Palette generator →

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