#5A67B1#5A67B1

#5A67B1 is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.8% C 0.116 H 274.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A67B1
RGBrgb(90, 103, 177)
HSLhsl(231, 36%, 52%)
HSVhsv(231, 49%, 69%)
CMYKcmyk(49.2%, 41.8%, 0%, 30.6%)
CIE-LABlab(45.70, 15.77, -41.03)
CIE-LCHlch(45.70, 43.96, 291.02°)
OKLaboklab(53.77% 0.0087 -0.1161)
OKLCHoklch(53.77% 0.116 274.3)
XYZxyz(17.0000, 15.0475, 43.5951)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B1 #B1A45A
analogous
#5A93B1 #5A67B1 #785AB1
triadic
#5A67B1 #B15A67 #67B15A
tetradic
#5A67B1 #B15A93 #B1A45A #5AB178
square
#5A67B1 #B15A93 #B1A45A #5AB178
split-complementary
#5A67B1 #B1785A #93B15A
monochromatic
#2E3662 #424D8C #5A67B1 #848DC5 #ADB4D8

Accessibility & contrast

On white

5.24
#5A67B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5A67B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B1#FFFFFF#000000##FFFFFF
##5A67B11.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#387783
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67b1;
/* rgb */ color: rgb(90, 103, 177);
/* oklch */ color: oklch(53.8% 0.116 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e92c9',
    500: '#5a67b1',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b1;
$custom-light: #8e92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b1",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 231.034,
    "s": 35.802,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53775,
    "c": 0.11648,
    "h": 274.3
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#5A67B1
secondary
#C6C1A0
accent
#BB5CCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B1

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

Preview Lab → · Contrast checker → · Palette generator →

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