#5A67C3#5A67C3

#5A67C3 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.142 H 274.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A67C3
RGBrgb(90, 103, 195)
HSLhsl(233, 47%, 56%)
HSVhsv(233, 54%, 76%)
CMYKcmyk(53.8%, 47.2%, 0%, 23.5%)
CIE-LABlab(46.73, 21.53, -49.84)
CIE-LCHlch(46.73, 54.29, 293.36°)
OKLaboklab(54.89% 0.0116 -0.142)
OKLCHoklch(54.89% 0.142 274.7)
XYZxyz(18.9139, 15.8130, 53.6747)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67C3 #C3B65A
analogous
#5A9CC3 #5A67C3 #815AC3
triadic
#5A67C3 #C35A67 #67C35A
tetradic
#5A67C3 #C35A9C #C3B65A #5AC381
square
#5A67C3 #C35A9C #C3B65A #5AC381
split-complementary
#5A67C3 #C3815A #9CC35A
monochromatic
#2B3577 #3C49A4 #5A67C3 #8790D3 #B4BAE4

Accessibility & contrast

On white

5.04
#5A67C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5A67C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67C3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67C3#FFFFFF#000000##FFFFFF
##5A67C31.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D73C6
Deuteranopia (green-blind)
#306BC1
Tritanopia (blue-blind)
#277B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a67c3;
/* rgb */ color: rgb(90, 103, 195);
/* oklch */ color: oklch(54.9% 0.142 274.7);
Tailwind
colors: {
  custom: {
    50: '#9092d6',
    500: '#5a67c3',
    950: '#000000',
  },
}
SCSS
$custom: #5a67c3;
$custom-light: #9092d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67c3",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 195
  },
  "hsl": {
    "h": 232.571,
    "s": 46.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.14245,
    "h": 274.7
  },
  "luminance": 0.15814
}

Semantic roles & 50–950 ramp

primary
#5A67C3
secondary
#D2CDA7
accent
#C651D6
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0C14
muted
#7E7D83

Preview Lab

Preview with #5A67C3

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

Preview Lab → · Contrast checker → · Palette generator →

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