#5A67C5#5A67C5

#5A67C5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.0% C 0.145 H 274.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5A67C5
RGBrgb(90, 103, 197)
HSLhsl(233, 48%, 56%)
HSVhsv(233, 54%, 77%)
CMYKcmyk(54.3%, 47.7%, 0%, 22.7%)
CIE-LABlab(46.85, 22.18, -50.80)
CIE-LCHlch(46.85, 55.43, 293.59°)
OKLaboklab(55.02% 0.0119 -0.1448)
OKLCHoklch(55.02% 0.145 274.7)
XYZxyz(19.1415, 15.9041, 54.8736)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C5 #C5B85A
analogous
#5A9DC5 #5A67C5 #835AC5
triadic
#5A67C5 #C55A67 #67C55A
tetradic
#5A67C5 #C55A9D #C5B85A #5AC583
square
#5A67C5 #C55A9D #C5B85A #5AC583
split-complementary
#5A67C5 #C5835A #9DC55A
monochromatic
#2B347A #3B48A7 #5A67C5 #8791D5 #B5BAE5

Accessibility & contrast

On white

5.02
#5A67C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5A67C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C5#FFFFFF#000000##FFFFFF
##5A67C51.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B74C8
Deuteranopia (green-blind)
#2E6BC3
Tritanopia (blue-blind)
#257C8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c5;
/* rgb */ color: rgb(90, 103, 197);
/* oklch */ color: oklch(55.0% 0.145 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d7',
    500: '#5a67c5',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c5;
$custom-light: #9092d7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c5",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 197
  },
  "hsl": {
    "h": 232.71,
    "s": 47.982,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55023,
    "c": 0.14528,
    "h": 274.7
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#5A67C5
secondary
#D3CEA7
accent
#C750D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C5

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

Preview Lab → · Contrast checker → · Palette generator →

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