#5A67DD#5A67DD

#5A67DD is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.178 H 274.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5A67DD
RGBrgb(90, 103, 221)
HSLhsl(234, 66%, 61%)
HSVhsv(234, 59%, 87%)
CMYKcmyk(59.3%, 53.4%, 0%, 13.3%)
CIE-LABlab(48.38, 30.04, -62.05)
CIE-LCHlch(48.38, 68.94, 295.83°)
OKLaboklab(56.67% 0.0139 -0.1779)
OKLCHoklch(56.67% 0.178 274.5)
XYZxyz(22.1136, 17.0929, 70.5265)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67DD #DDD05A
analogous
#5AA8DD #5A67DD #8E5ADD
triadic
#5A67DD #DD5A67 #67DD5A
tetradic
#5A67DD #DD5AA8 #DDD05A #5ADD8E
square
#5A67DD #DD5AA8 #DDD05A #5ADD8E
split-complementary
#5A67DD #DD8E5A #A8DD5A
monochromatic
#202D9C #2B3BCF #5A67DD #8D96E7 #BFC4F2

Accessibility & contrast

On white

4.75
#5A67DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5A67DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67DD#FFFFFF#000000##FFFFFF
##5A67DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#006DDB
Tritanopia (blue-blind)
#008298
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a67dd;
/* rgb */ color: rgb(90, 103, 221);
/* oklch */ color: oklch(56.7% 0.178 274.5);
Tailwind
colors: {
  custom: {
    50: '#9492e8',
    500: '#5a67dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a67dd;
$custom-light: #9492e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67dd",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 221
  },
  "hsl": {
    "h": 234.046,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.17843,
    "h": 274.5
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#5A67DD
secondary
#E2DDB1
accent
#BC18CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0D16
muted
#7E7D84

Preview Lab

Preview with #5A67DD

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

Preview Lab → · Contrast checker → · Palette generator →

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