#5A67BC#5A67BC

#5A67BC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.4% C 0.132 H 274.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5A67BC
RGBrgb(90, 103, 188)
HSLhsl(232, 42%, 55%)
HSVhsv(232, 52%, 74%)
CMYKcmyk(52.1%, 45.2%, 0%, 26.3%)
CIE-LABlab(46.32, 19.27, -46.45)
CIE-LCHlch(46.32, 50.29, 292.53°)
OKLaboklab(54.45% 0.0106 -0.132)
OKLCHoklch(54.45% 0.132 274.6)
XYZxyz(18.1409, 15.5038, 49.6038)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67BC #BCAF5A
analogous
#5A98BC #5A67BC #7E5ABC
triadic
#5A67BC #BC5A67 #67BC5A
tetradic
#5A67BC #BC5A98 #BCAF5A #5ABC7E
square
#5A67BC #BC5A98 #BCAF5A #5ABC7E
split-complementary
#5A67BC #BC7E5A #98BC5A
monochromatic
#2D366F #3F4B9A #5A67BC #868FCE #B1B7DF

Accessibility & contrast

On white

5.12
#5A67BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5A67BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67BC#FFFFFF#000000##FFFFFF
##5A67BC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#2F7988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a67bc;
/* rgb */ color: rgb(90, 103, 188);
/* oklch */ color: oklch(54.4% 0.132 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f92d1',
    500: '#5a67bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a67bc;
$custom-light: #8f92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67bc",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 188
  },
  "hsl": {
    "h": 232.041,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.13246,
    "h": 274.6
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#5A67BC
secondary
#CEC8A4
accent
#C256D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A67BC

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

Preview Lab → · Contrast checker → · Palette generator →

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