#5A67C6#5A67C6

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

Color values

HEX#5A67C6
RGBrgb(90, 103, 198)
HSLhsl(233, 49%, 56%)
HSVhsv(233, 55%, 78%)
CMYKcmyk(54.5%, 48%, 0%, 22.4%)
CIE-LABlab(46.91, 22.50, -51.28)
CIE-LCHlch(46.91, 56.00, 293.69°)
OKLaboklab(55.09% 0.012 -0.1462)
OKLCHoklch(55.09% 0.147 274.7)
XYZxyz(19.2565, 15.9501, 55.4791)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C6 #C6B95A
analogous
#5A9DC6 #5A67C6 #835AC6
triadic
#5A67C6 #C65A67 #67C65A
tetradic
#5A67C6 #C65A9D #C6B95A #5AC683
square
#5A67C6 #C65A9D #C6B95A #5AC683
split-complementary
#5A67C6 #C6835A #9DC65A
monochromatic
#2B347B #3A48A9 #5A67C6 #8791D6 #B5BBE5

Accessibility & contrast

On white

5.01
#5A67C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5A67C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C6#FFFFFF#000000##FFFFFF
##5A67C61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A74C9
Deuteranopia (green-blind)
#2C6BC4
Tritanopia (blue-blind)
#237C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c6;
/* rgb */ color: rgb(90, 103, 198);
/* oklch */ color: oklch(55.1% 0.147 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d8',
    500: '#5a67c6',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c6;
$custom-light: #9092d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c6",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 198
  },
  "hsl": {
    "h": 232.778,
    "s": 48.649,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55089,
    "c": 0.1467,
    "h": 274.7
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#5A67C6
secondary
#D4CFA8
accent
#C850D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C6

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

Preview Lab → · Contrast checker → · Palette generator →

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