#5A67B7#5A67B7

#5A67B7 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.1% C 0.125 H 274.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5A67B7
RGBrgb(90, 103, 183)
HSLhsl(232, 39%, 54%)
HSVhsv(232, 51%, 72%)
CMYKcmyk(50.8%, 43.7%, 0%, 28.2%)
CIE-LABlab(46.03, 17.67, -44.00)
CIE-LCHlch(46.03, 47.42, 291.88°)
OKLaboklab(54.14% 0.0098 -0.1248)
OKLCHoklch(54.14% 0.125 274.5)
XYZxyz(17.6112, 15.2920, 46.8142)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B7 #B7AA5A
analogous
#5A95B7 #5A67B7 #7B5AB7
triadic
#5A67B7 #B75A67 #67B75A
tetradic
#5A67B7 #B75A95 #B7AA5A #5AB77B
square
#5A67B7 #B75A95 #B7AA5A #5AB77B
split-complementary
#5A67B7 #B77B5A #95B75A
monochromatic
#2E3669 #404C93 #5A67B7 #858ECA #AFB5DC

Accessibility & contrast

On white

5.17
#5A67B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5A67B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B7#FFFFFF#000000##FFFFFF
##5A67B71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#3D69B5
Tritanopia (blue-blind)
#337886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b7;
/* rgb */ color: rgb(90, 103, 183);
/* oklch */ color: oklch(54.1% 0.125 274.5);
Tailwind
colors: {
  custom: {
    50: '#8e92cd',
    500: '#5a67b7',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b7;
$custom-light: #8e92cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b7",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 183
  },
  "hsl": {
    "h": 231.613,
    "s": 39.241,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54138,
    "c": 0.12524,
    "h": 274.5
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#5A67B7
secondary
#CAC5A2
accent
#BF59CF
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B7

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

Preview Lab → · Contrast checker → · Palette generator →

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