#5A67B0#5A67B0

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

Color values

HEX#5A67B0
RGBrgb(90, 103, 176)
HSLhsl(231, 35%, 52%)
HSVhsv(231, 49%, 69%)
CMYKcmyk(48.9%, 41.5%, 0%, 31%)
CIE-LABlab(45.64, 15.45, -40.53)
CIE-LCHlch(45.64, 43.38, 290.87°)
OKLaboklab(53.72% 0.0086 -0.1147)
OKLCHoklch(53.72% 0.115 274.3)
XYZxyz(16.9007, 15.0078, 43.0721)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B0 #B0A35A
analogous
#5A92B0 #5A67B0 #785AB0
triadic
#5A67B0 #B05A67 #67B05A
tetradic
#5A67B0 #B05A92 #B0A35A #5AB078
square
#5A67B0 #B05A92 #B0A35A #5AB078
split-complementary
#5A67B0 #B0785A #92B05A
monochromatic
#2E3661 #424D8A #5A67B0 #838DC4 #ADB3D8

Accessibility & contrast

On white

5.25
#5A67B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5A67B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B0#FFFFFF#000000##FFFFFF
##5A67B01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B3
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#397683
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5a67b0;
/* rgb */ color: rgb(90, 103, 176);
/* oklch */ color: oklch(53.7% 0.115 274.3);
Tailwind
colors: {
  custom: {
    50: '#8e92c8',
    500: '#5a67b0',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b0;
$custom-light: #8e92c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b0",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 176
  },
  "hsl": {
    "h": 230.93,
    "s": 35.246,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.11501,
    "h": 274.3
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#5A67B0
secondary
#C6C0A0
accent
#BB5DCB
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B0

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

Preview Lab → · Contrast checker → · Palette generator →

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