#5A67BA#5A67BA

#5A67BA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.3% C 0.130 H 274.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5A67BA
RGBrgb(90, 103, 186)
HSLhsl(232, 41%, 54%)
HSVhsv(232, 52%, 73%)
CMYKcmyk(51.6%, 44.6%, 0%, 27.1%)
CIE-LABlab(46.20, 18.63, -45.47)
CIE-LCHlch(46.20, 49.14, 292.28°)
OKLaboklab(54.32% 0.0103 -0.1292)
OKLCHoklch(54.32% 0.13 274.6)
XYZxyz(17.9268, 15.4182, 48.4762)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67BA #BAAD5A
analogous
#5A97BA #5A67BA #7D5ABA
triadic
#5A67BA #BA5A67 #67BA5A
tetradic
#5A67BA #BA5A97 #BAAD5A #5ABA7D
square
#5A67BA #BA5A97 #BAAD5A #5ABA7D
split-complementary
#5A67BA #BA7D5A #97BA5A
monochromatic
#2D366C #3F4B97 #5A67BA #858FCC #B0B7DE

Accessibility & contrast

On white

5.14
#5A67BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5A67BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67BA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67BA#FFFFFF#000000##FFFFFF
##5A67BA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#317987
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67ba;
/* rgb */ color: rgb(90, 103, 186);
/* oklch */ color: oklch(54.3% 0.130 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f92cf',
    500: '#5a67ba',
    950: '#000000',
  },
}
SCSS
$custom: #5a67ba;
$custom-light: #8f92cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67ba",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 231.875,
    "s": 41.026,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.12957,
    "h": 274.6
  },
  "luminance": 0.15419
}

Semantic roles & 50–950 ramp

primary
#5A67BA
secondary
#CCC7A3
accent
#C057D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A67BA

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

Preview Lab → · Contrast checker → · Palette generator →

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