#5A67AF#5A67AF

#5A67AF is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.7% C 0.114 H 274.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#5A67AF
RGBrgb(90, 103, 175)
HSLhsl(231, 35%, 52%)
HSVhsv(231, 49%, 69%)
CMYKcmyk(48.6%, 41.1%, 0%, 31.4%)
CIE-LABlab(45.59, 15.14, -40.03)
CIE-LCHlch(45.59, 42.80, 290.71°)
OKLaboklab(53.66% 0.0084 -0.1132)
OKLCHoklch(53.66% 0.114 274.2)
XYZxyz(16.8021, 14.9683, 42.5529)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67AF #AFA25A
analogous
#5A91AF #5A67AF #785AAF
triadic
#5A67AF #AF5A67 #67AF5A
tetradic
#5A67AF #AF5A91 #AFA25A #5AAF78
square
#5A67AF #AF5A91 #AFA25A #5AAF78
split-complementary
#5A67AF #AF785A #91AF5A
monochromatic
#2F3660 #434D89 #5A67AF #838DC3 #ACB3D7

Accessibility & contrast

On white

5.26
#5A67AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5A67AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67AF#FFFFFF#000000##FFFFFF
##5A67AF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#4369AD
Tritanopia (blue-blind)
#397682
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67af;
/* rgb */ color: rgb(90, 103, 175);
/* oklch */ color: oklch(53.7% 0.114 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d92c7',
    500: '#5a67af',
    950: '#000000',
  },
}
SCSS
$custom: #5a67af;
$custom-light: #8d92c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67af",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 175
  },
  "hsl": {
    "h": 230.824,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53657,
    "c": 0.11355,
    "h": 274.2
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#5A67AF
secondary
#C5BFA0
accent
#BA5DCB
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0D0C13
muted
#7D7D82

Preview Lab

Preview with #5A67AF

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

Preview Lab → · Contrast checker → · Palette generator →

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