#5A67B9#5A67B9

#5A67B9 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.3% C 0.128 H 274.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5A67B9
RGBrgb(90, 103, 185)
HSLhsl(232, 40%, 54%)
HSVhsv(232, 51%, 73%)
CMYKcmyk(51.4%, 44.3%, 0%, 27.5%)
CIE-LABlab(46.14, 18.31, -44.98)
CIE-LCHlch(46.14, 48.57, 292.15°)
OKLaboklab(54.26% 0.0102 -0.1277)
OKLCHoklch(54.26% 0.128 274.5)
XYZxyz(17.8209, 15.3758, 47.9183)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B9 #B9AC5A
analogous
#5A97B9 #5A67B9 #7D5AB9
triadic
#5A67B9 #B95A67 #67B95A
tetradic
#5A67B9 #B95A97 #B9AC5A #5AB97D
square
#5A67B9 #B95A97 #B9AC5A #5AB97D
split-complementary
#5A67B9 #B97D5A #97B95A
monochromatic
#2D366B #404C96 #5A67B9 #858FCB #B0B6DD

Accessibility & contrast

On white

5.15
#5A67B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5A67B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B9#FFFFFF#000000##FFFFFF
##5A67B91.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BC
Deuteranopia (green-blind)
#3B6AB7
Tritanopia (blue-blind)
#317987
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b9;
/* rgb */ color: rgb(90, 103, 185);
/* oklch */ color: oklch(54.3% 0.128 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f92ce',
    500: '#5a67b9',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b9;
$custom-light: #8f92ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b9",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 185
  },
  "hsl": {
    "h": 231.789,
    "s": 40.426,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54261,
    "c": 0.12812,
    "h": 274.5
  },
  "luminance": 0.15377
}

Semantic roles & 50–950 ramp

primary
#5A67B9
secondary
#CCC6A3
accent
#C058D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A67B9

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

Preview Lab → · Contrast checker → · Palette generator →

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