#5A67A9#5A67A9

#5A67A9 is a mid, moderate blue. Relative luminance 0.147; OKLCH L 53.3% C 0.105 H 273.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A67A9
RGBrgb(90, 103, 169)
HSLhsl(230, 31%, 51%)
HSVhsv(230, 47%, 66%)
CMYKcmyk(46.7%, 39.1%, 0%, 33.7%)
CIE-LABlab(45.27, 13.26, -37.02)
CIE-LCHlch(45.27, 39.32, 289.71°)
OKLaboklab(53.31% 0.0071 -0.1044)
OKLCHoklch(53.31% 0.105 273.9)
XYZxyz(16.2259, 14.7378, 39.5181)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67A9 #A99C5A
analogous
#5A8EA9 #5A67A9 #745AA9
triadic
#5A67A9 #A95A67 #67A95A
tetradic
#5A67A9 #A95A8E #A99C5A #5AA974
square
#5A67A9 #A95A8E #A99C5A #5AA974
split-complementary
#5A67A9 #A9745A #8EA95A
monochromatic
#2F365A #444E82 #5A67A9 #828CBE #AAB1D3

Accessibility & contrast

On white

5.32
#5A67A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A67A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67A9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67A9#FFFFFF#000000##FFFFFF
##5A67A91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAC
Deuteranopia (green-blind)
#4768A8
Tritanopia (blue-blind)
#3D7580
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a67a9;
/* rgb */ color: rgb(90, 103, 169);
/* oklch */ color: oklch(53.3% 0.105 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d92c3',
    500: '#5a67a9',
    950: '#000000',
  },
}
SCSS
$custom: #5a67a9;
$custom-light: #8d92c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67a9",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 169
  },
  "hsl": {
    "h": 230.127,
    "s": 31.474,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53309,
    "c": 0.10467,
    "h": 273.9
  },
  "luminance": 0.14739
}

Semantic roles & 50–950 ramp

primary
#5A67A9
secondary
#C1BB9E
accent
#B760C8
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #5A67A9

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

Preview Lab → · Contrast checker → · Palette generator →

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