#5A67BE#5A67BE

#5A67BE is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.6% C 0.135 H 274.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5A67BE
RGBrgb(90, 103, 190)
HSLhsl(232, 43%, 55%)
HSVhsv(232, 53%, 75%)
CMYKcmyk(52.6%, 45.8%, 0%, 25.5%)
CIE-LABlab(46.43, 19.92, -47.42)
CIE-LCHlch(46.43, 51.43, 292.78°)
OKLaboklab(54.57% 0.0109 -0.1349)
OKLCHoklch(54.57% 0.135 274.6)
XYZxyz(18.3580, 15.5907, 50.7472)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67BE #BEB15A
analogous
#5A99BE #5A67BE #7F5ABE
triadic
#5A67BE #BE5A67 #67BE5A
tetradic
#5A67BE #BE5A99 #BEB15A #5ABE7F
square
#5A67BE #BE5A99 #BEB15A #5ABE7F
split-complementary
#5A67BE #BE7F5A #99BE5A
monochromatic
#2D3571 #3E4A9D #5A67BE #868FCF #B2B8E1

Accessibility & contrast

On white

5.10
#5A67BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5A67BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67BE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67BE#FFFFFF#000000##FFFFFF
##5A67BE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#2D7A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a67be;
/* rgb */ color: rgb(90, 103, 190);
/* oklch */ color: oklch(54.6% 0.135 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f92d2',
    500: '#5a67be',
    950: '#000000',
  },
}
SCSS
$custom: #5a67be;
$custom-light: #8f92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67be",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 190
  },
  "hsl": {
    "h": 232.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54573,
    "c": 0.13532,
    "h": 274.6
  },
  "luminance": 0.15592
}

Semantic roles & 50–950 ramp

primary
#5A67BE
secondary
#CFC9A5
accent
#C355D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #5A67BE

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

Preview Lab → · Contrast checker → · Palette generator →

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