#5A67C8#5A67C8

#5A67C8 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 55.2% C 0.150 H 274.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5A67C8
RGBrgb(90, 103, 200)
HSLhsl(233, 50%, 57%)
HSVhsv(233, 55%, 78%)
CMYKcmyk(55%, 48.5%, 0%, 21.6%)
CIE-LABlab(47.03, 23.15, -52.23)
CIE-LCHlch(47.03, 57.14, 293.91°)
OKLaboklab(55.22% 0.0122 -0.149)
OKLCHoklch(55.22% 0.15 274.7)
XYZxyz(19.4887, 16.0429, 56.7020)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C8 #C8BB5A
analogous
#5A9EC8 #5A67C8 #845AC8
triadic
#5A67C8 #C85A67 #67C85A
tetradic
#5A67C8 #C85A9E #C8BB5A #5AC884
square
#5A67C8 #C85A9E #C8BB5A #5AC884
split-complementary
#5A67C8 #C8845A #9EC85A
monochromatic
#2A347E #3947AC #5A67C8 #8891D7 #B6BCE7

Accessibility & contrast

On white

4.99
#5A67C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5A67C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C8#FFFFFF#000000##FFFFFF
##5A67C81.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#296BC6
Tritanopia (blue-blind)
#207D8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c8;
/* rgb */ color: rgb(90, 103, 200);
/* oklch */ color: oklch(55.2% 0.150 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192d9',
    500: '#5a67c8',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c8;
$custom-light: #9192d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c8",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 200
  },
  "hsl": {
    "h": 232.909,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5522,
    "c": 0.14951,
    "h": 274.7
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#5A67C8
secondary
#D5D0A8
accent
#C94EDA
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5A67C8

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

Preview Lab → · Contrast checker → · Palette generator →

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