#5A67B8#5A67B8

#5A67B8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.2% C 0.127 H 274.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5A67B8
RGBrgb(90, 103, 184)
HSLhsl(232, 40%, 54%)
HSVhsv(232, 51%, 72%)
CMYKcmyk(51.1%, 44%, 0%, 27.8%)
CIE-LABlab(46.09, 17.99, -44.49)
CIE-LCHlch(46.09, 47.99, 292.02°)
OKLaboklab(54.2% 0.01 -0.1263)
OKLCHoklch(54.2% 0.127 274.5)
XYZxyz(17.7157, 15.3337, 47.3643)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67B8 #B8AB5A
analogous
#5A96B8 #5A67B8 #7C5AB8
triadic
#5A67B8 #B85A67 #67B85A
tetradic
#5A67B8 #B85A96 #B8AB5A #5AB87C
square
#5A67B8 #B85A96 #B8AB5A #5AB87C
split-complementary
#5A67B8 #B87C5A #96B85A
monochromatic
#2E366A #404C95 #5A67B8 #858ECA #B0B6DD

Accessibility & contrast

On white

5.16
#5A67B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5A67B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67B8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67B8#FFFFFF#000000##FFFFFF
##5A67B81.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#3C69B6
Tritanopia (blue-blind)
#327886
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5a67b8;
/* rgb */ color: rgb(90, 103, 184);
/* oklch */ color: oklch(54.2% 0.127 274.5);
Tailwind
colors: {
  custom: {
    50: '#8f92ce',
    500: '#5a67b8',
    950: '#000000',
  },
}
SCSS
$custom: #5a67b8;
$custom-light: #8f92ce;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67b8",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 184
  },
  "hsl": {
    "h": 231.702,
    "s": 39.831,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54199,
    "c": 0.12668,
    "h": 274.5
  },
  "luminance": 0.15335
}

Semantic roles & 50–950 ramp

primary
#5A67B8
secondary
#CBC5A3
accent
#BF58D0
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #5A67B8

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

Preview Lab → · Contrast checker → · Palette generator →

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