#5A67B3#5A67B3

#5A67B3 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.9% C 0.119 H 274.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5A67B3
RGBrgb(90, 103, 179)
HSLhsl(231, 37%, 53%)
HSVhsv(231, 50%, 70%)
CMYKcmyk(49.7%, 42.5%, 0%, 29.8%)
CIE-LABlab(45.81, 16.40, -42.02)
CIE-LCHlch(45.81, 45.11, 291.32°)
OKLaboklab(53.9% 0.0091 -0.1191)
OKLCHoklch(53.9% 0.119 274.4)
XYZxyz(17.2008, 15.1278, 44.6527)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B3 #B3A65A
analogous
#5A93B3 #5A67B3 #795AB3
triadic
#5A67B3 #B35A67 #67B35A
tetradic
#5A67B3 #B35A93 #B3A65A #5AB379
square
#5A67B3 #B35A93 #B3A65A #5AB379
split-complementary
#5A67B3 #B3795A #93B35A
monochromatic
#2E3664 #424D8E #5A67B3 #848EC6 #AEB4DA

Accessibility & contrast

On white

5.22
#5A67B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5A67B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B3#FFFFFF#000000##FFFFFF
##5A67B31.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B6
Deuteranopia (green-blind)
#4069B1
Tritanopia (blue-blind)
#367784
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67b3;
/* rgb */ color: rgb(90, 103, 179);
/* oklch */ color: oklch(53.9% 0.119 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e92ca',
    500: '#5a67b3',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b3;
$custom-light: #8e92ca;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b3",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 179
  },
  "hsl": {
    "h": 231.236,
    "s": 36.929,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.11941,
    "h": 274.4
  },
  "luminance": 0.15129
}

Semantic roles & 50–950 ramp

primary
#5A67B3
secondary
#C8C2A1
accent
#BC5BCD
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B3

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

Preview Lab → · Contrast checker → · Palette generator →

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