#5A67C7#5A67C7

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

Color values

HEX#5A67C7
RGBrgb(90, 103, 199)
HSLhsl(233, 49%, 57%)
HSVhsv(233, 55%, 78%)
CMYKcmyk(54.8%, 48.2%, 0%, 22%)
CIE-LABlab(46.97, 22.83, -51.76)
CIE-LCHlch(46.97, 56.57, 293.80°)
OKLaboklab(55.15% 0.0121 -0.1476)
OKLCHoklch(55.15% 0.148 274.7)
XYZxyz(19.3722, 15.9963, 56.0885)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C7 #C7BA5A
analogous
#5A9EC7 #5A67C7 #845AC7
triadic
#5A67C7 #C75A67 #67C75A
tetradic
#5A67C7 #C75A9E #C7BA5A #5AC784
square
#5A67C7 #C75A9E #C7BA5A #5AC784
split-complementary
#5A67C7 #C7845A #9EC75A
monochromatic
#2A347C #3A47AA #5A67C7 #8891D7 #B5BBE6

Accessibility & contrast

On white

5.00
#5A67C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5A67C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C7#FFFFFF#000000##FFFFFF
##5A67C71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3974CA
Deuteranopia (green-blind)
#2B6BC5
Tritanopia (blue-blind)
#227C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c7;
/* rgb */ color: rgb(90, 103, 199);
/* oklch */ color: oklch(55.2% 0.148 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192d8',
    500: '#5a67c7',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c7;
$custom-light: #9192d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c7",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 199
  },
  "hsl": {
    "h": 232.844,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.1481,
    "h": 274.7
  },
  "luminance": 0.15998
}

Semantic roles & 50–950 ramp

primary
#5A67C7
secondary
#D5CFA8
accent
#C84FD9
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #5A67C7

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

Preview Lab → · Contrast checker → · Palette generator →

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