#5A67AC#5A67AC

#5A67AC is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.5% C 0.109 H 274.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5A67AC
RGBrgb(90, 103, 172)
HSLhsl(230, 33%, 51%)
HSVhsv(230, 48%, 67%)
CMYKcmyk(47.7%, 40.1%, 0%, 32.5%)
CIE-LABlab(45.43, 14.20, -38.53)
CIE-LCHlch(45.43, 41.06, 290.23°)
OKLaboklab(53.48% 0.0078 -0.1088)
OKLCHoklch(53.48% 0.109 274.1)
XYZxyz(16.5108, 14.8518, 41.0184)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67AC #AC9F5A
analogous
#5A90AC #5A67AC #765AAC
triadic
#5A67AC #AC5A67 #67AC5A
tetradic
#5A67AC #AC5A90 #AC9F5A #5AAC76
square
#5A67AC #AC5A90 #AC9F5A #5AAC76
split-complementary
#5A67AC #AC765A #90AC5A
monochromatic
#2F365D #434E86 #5A67AC #838DC0 #ABB2D5

Accessibility & contrast

On white

5.29
#5A67AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5A67AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67AC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67AC#FFFFFF#000000##FFFFFF
##5A67AC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#3B7581
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67ac;
/* rgb */ color: rgb(90, 103, 172);
/* oklch */ color: oklch(53.5% 0.109 274.1);
Tailwind
colors: {
  custom: {
    50: '#8d92c5',
    500: '#5a67ac',
    950: '#000000',
  },
}
SCSS
$custom: #5a67ac;
$custom-light: #8d92c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67ac",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 172
  },
  "hsl": {
    "h": 230.488,
    "s": 33.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53482,
    "c": 0.10912,
    "h": 274.1
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#5A67AC
secondary
#C3BD9F
accent
#B85FC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #5A67AC

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

Preview Lab → · Contrast checker → · Palette generator →

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