#5A67B5#5A67B5

#5A67B5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.0% C 0.122 H 274.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5A67B5
RGBrgb(90, 103, 181)
HSLhsl(231, 38%, 53%)
HSVhsv(231, 50%, 71%)
CMYKcmyk(50.3%, 43.1%, 0%, 29%)
CIE-LABlab(45.92, 17.04, -43.01)
CIE-LCHlch(45.92, 46.26, 291.61°)
OKLaboklab(54.02% 0.0095 -0.122)
OKLCHoklch(54.02% 0.122 274.4)
XYZxyz(17.4046, 15.2093, 45.7257)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B5 #B5A85A
analogous
#5A94B5 #5A67B5 #7B5AB5
triadic
#5A67B5 #B55A67 #67B55A
tetradic
#5A67B5 #B55A94 #B5A85A #5AB57B
square
#5A67B5 #B55A94 #B5A85A #5AB57B
split-complementary
#5A67B5 #B57B5A #94B55A
monochromatic
#2E3667 #414C91 #5A67B5 #848EC8 #AFB5DB

Accessibility & contrast

On white

5.20
#5A67B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5A67B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B5#FFFFFF#000000##FFFFFF
##5A67B51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#3F69B3
Tritanopia (blue-blind)
#357885
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b5;
/* rgb */ color: rgb(90, 103, 181);
/* oklch */ color: oklch(54.0% 0.122 274.4);
Tailwind
colors: {
  custom: {
    50: '#8e92cb',
    500: '#5a67b5',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b5;
$custom-light: #8e92cb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b5",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 181
  },
  "hsl": {
    "h": 231.429,
    "s": 38.075,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54016,
    "c": 0.12233,
    "h": 274.4
  },
  "luminance": 0.1521
}

Semantic roles & 50–950 ramp

primary
#5A67B5
secondary
#C9C3A2
accent
#BD5ACE
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B5

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

Preview Lab → · Contrast checker → · Palette generator →

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