#5A67C9#5A67C9

#5A67C9 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.3% C 0.151 H 274.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A67C9
RGBrgb(90, 103, 201)
HSLhsl(233, 51%, 57%)
HSVhsv(233, 55%, 79%)
CMYKcmyk(55.2%, 48.8%, 0%, 21.2%)
CIE-LABlab(47.09, 23.48, -52.71)
CIE-LCHlch(47.09, 57.70, 294.01°)
OKLaboklab(55.29% 0.0123 -0.1504)
OKLCHoklch(55.29% 0.151 274.7)
XYZxyz(19.6059, 16.0898, 57.3195)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C9 #C9BC5A
analogous
#5A9FC9 #5A67C9 #855AC9
triadic
#5A67C9 #C95A67 #67C95A
tetradic
#5A67C9 #C95A9F #C9BC5A #5AC985
square
#5A67C9 #C95A9F #C9BC5A #5AC985
split-complementary
#5A67C9 #C9855A #9FC95A
monochromatic
#2A347F #3946AD #5A67C9 #8891D8 #B6BCE7

Accessibility & contrast

On white

4.98
#5A67C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5A67C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C9#FFFFFF#000000##FFFFFF
##5A67C91.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CD
Deuteranopia (green-blind)
#286BC7
Tritanopia (blue-blind)
#1F7D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a67c9;
/* rgb */ color: rgb(90, 103, 201);
/* oklch */ color: oklch(55.3% 0.151 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192da',
    500: '#5a67c9',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c9;
$custom-light: #9192da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c9",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 201
  },
  "hsl": {
    "h": 232.973,
    "s": 50.685,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.15091,
    "h": 274.7
  },
  "luminance": 0.16091
}

Semantic roles & 50–950 ramp

primary
#5A67C9
secondary
#D6D1A9
accent
#CA4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #5A67C9

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

Preview Lab → · Contrast checker → · Palette generator →

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