#5A67BB#5A67BB

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

Color values

HEX#5A67BB
RGBrgb(90, 103, 187)
HSLhsl(232, 42%, 54%)
HSVhsv(232, 52%, 73%)
CMYKcmyk(51.9%, 44.9%, 0%, 26.7%)
CIE-LABlab(46.26, 18.95, -45.96)
CIE-LCHlch(46.26, 49.72, 292.41°)
OKLaboklab(54.38% 0.0105 -0.1306)
OKLCHoklch(54.38% 0.131 274.6)
XYZxyz(18.0335, 15.4609, 49.0381)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67BB #BBAE5A
analogous
#5A98BB #5A67BB #7E5ABB
triadic
#5A67BB #BB5A67 #67BB5A
tetradic
#5A67BB #BB5A98 #BBAE5A #5ABB7E
square
#5A67BB #BB5A98 #BBAE5A #5ABB7E
split-complementary
#5A67BB #BB7E5A #98BB5A
monochromatic
#2D366D #3F4B99 #5A67BB #858FCD #B1B7DF

Accessibility & contrast

On white

5.13
#5A67BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5A67BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67BB#FFFFFF#000000##FFFFFF
##5A67BB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#307988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a67bb;
/* rgb */ color: rgb(90, 103, 187);
/* oklch */ color: oklch(54.4% 0.131 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f92d0',
    500: '#5a67bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a67bb;
$custom-light: #8f92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67bb",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 187
  },
  "hsl": {
    "h": 231.959,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.13101,
    "h": 274.6
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#5A67BB
secondary
#CDC7A4
accent
#C156D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A67BB

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

Preview Lab → · Contrast checker → · Palette generator →

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