#5A67B2#5A67B2

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

Color values

HEX#5A67B2
RGBrgb(90, 103, 178)
HSLhsl(231, 36%, 53%)
HSVhsv(231, 49%, 70%)
CMYKcmyk(49.4%, 42.1%, 0%, 30.2%)
CIE-LABlab(45.75, 16.08, -41.53)
CIE-LCHlch(45.75, 44.53, 291.17°)
OKLaboklab(53.84% 0.0089 -0.1176)
OKLCHoklch(53.84% 0.118 274.3)
XYZxyz(17.1000, 15.0875, 44.1220)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B2 #B2A55A
analogous
#5A93B2 #5A67B2 #795AB2
triadic
#5A67B2 #B25A67 #67B25A
tetradic
#5A67B2 #B25A93 #B2A55A #5AB279
square
#5A67B2 #B25A93 #B2A55A #5AB279
split-complementary
#5A67B2 #B2795A #93B25A
monochromatic
#2E3663 #424D8D #5A67B2 #848DC5 #ADB4D9

Accessibility & contrast

On white

5.23
#5A67B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5A67B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B2
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B2#FFFFFF#000000##FFFFFF
##5A67B21.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#377784
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67b2;
/* rgb */ color: rgb(90, 103, 178);
/* oklch */ color: oklch(53.8% 0.118 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e92c9',
    500: '#5a67b2',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b2;
$custom-light: #8e92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b2",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 231.136,
    "s": 36.364,
    "l": 52.549
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.11795,
    "h": 274.3
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#5A67B2
secondary
#C7C1A1
accent
#BC5BCC
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B2

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

Preview Lab → · Contrast checker → · Palette generator →

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