#5A67C2#5A67C2

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

Color values

HEX#5A67C2
RGBrgb(90, 103, 194)
HSLhsl(233, 46%, 56%)
HSVhsv(233, 54%, 76%)
CMYKcmyk(53.6%, 46.9%, 0%, 23.9%)
CIE-LABlab(46.67, 21.21, -49.36)
CIE-LCHlch(46.67, 53.72, 293.25°)
OKLaboklab(54.83% 0.0115 -0.1406)
OKLCHoklch(54.83% 0.141 274.7)
XYZxyz(18.8012, 15.7679, 53.0813)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C2 #C2B55A
analogous
#5A9BC2 #5A67C2 #815AC2
triadic
#5A67C2 #C25A67 #67C25A
tetradic
#5A67C2 #C25A9B #C2B55A #5AC281
square
#5A67C2 #C25A9B #C2B55A #5AC281
split-complementary
#5A67C2 #C2815A #9BC25A
monochromatic
#2C3576 #3C49A3 #5A67C2 #8790D3 #B3B9E3

Accessibility & contrast

On white

5.06
#5A67C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5A67C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C2#FFFFFF#000000##FFFFFF
##5A67C21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#326AC0
Tritanopia (blue-blind)
#287B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c2;
/* rgb */ color: rgb(90, 103, 194);
/* oklch */ color: oklch(54.8% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d5',
    500: '#5a67c2',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c2;
$custom-light: #9092d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c2",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 194
  },
  "hsl": {
    "h": 232.5,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.14103,
    "h": 274.7
  },
  "luminance": 0.15769
}

Semantic roles & 50–950 ramp

primary
#5A67C2
secondary
#D2CCA6
accent
#C552D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C2

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

Preview Lab → · Contrast checker → · Palette generator →

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