#5A67CF#5A67CF

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

Color values

HEX#5A67CF
RGBrgb(90, 103, 207)
HSLhsl(233, 55%, 58%)
HSVhsv(233, 57%, 81%)
CMYKcmyk(56.5%, 50.2%, 0%, 18.8%)
CIE-LABlab(47.47, 25.44, -55.55)
CIE-LCHlch(47.47, 61.10, 294.61°)
OKLaboklab(55.69% 0.0129 -0.1588)
OKLCHoklch(55.69% 0.159 274.7)
XYZxyz(20.3255, 16.3777, 61.1095)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67CF #CFC25A
analogous
#5AA2CF #5A67CF #875ACF
triadic
#5A67CF #CF5A67 #67CF5A
tetradic
#5A67CF #CF5AA2 #CFC25A #5ACF87
square
#5A67CF #CF5AA2 #CFC25A #5ACF87
split-complementary
#5A67CF #CF875A #A2CF5A
monochromatic
#273287 #3544B7 #5A67CF #8993DD #B9BEEB

Accessibility & contrast

On white

4.91
#5A67CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5A67CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67CF#FFFFFF#000000##FFFFFF
##5A67CF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#1D6CCD
Tritanopia (blue-blind)
#137E91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a67cf;
/* rgb */ color: rgb(90, 103, 207);
/* oklch */ color: oklch(55.7% 0.159 274.7);
Tailwind
colors: {
  custom: {
    50: '#9292de',
    500: '#5a67cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a67cf;
$custom-light: #9292de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67cf",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 207
  },
  "hsl": {
    "h": 233.333,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.15928,
    "h": 274.7
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#5A67CF
secondary
#DAD5AB
accent
#CE4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67CF

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

Preview Lab → · Contrast checker → · Palette generator →

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