#5A67CC#5A67CC

#5A67CC is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.155 H 274.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5A67CC
RGBrgb(90, 103, 204)
HSLhsl(233, 53%, 58%)
HSVhsv(233, 56%, 80%)
CMYKcmyk(55.9%, 49.5%, 0%, 20%)
CIE-LABlab(47.28, 24.46, -54.13)
CIE-LCHlch(47.28, 59.40, 294.31°)
OKLaboklab(55.49% 0.0126 -0.1546)
OKLCHoklch(55.49% 0.155 274.7)
XYZxyz(19.9623, 16.2324, 59.1963)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A67CC #CCBF5A
analogous
#5AA0CC #5A67CC #865ACC
triadic
#5A67CC #CC5A67 #67CC5A
tetradic
#5A67CC #CC5AA0 #CCBF5A #5ACC86
square
#5A67CC #CC5AA0 #CCBF5A #5ACC86
split-complementary
#5A67CC #CC865A #A0CC5A
monochromatic
#293383 #3745B2 #5A67CC #8992DA #B7BDE9

Accessibility & contrast

On white

4.94
#5A67CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5A67CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A67CC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A67CC#FFFFFF#000000##FFFFFF
##5A67CC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#236BCA
Tritanopia (blue-blind)
#197E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a67cc;
/* rgb */ color: rgb(90, 103, 204);
/* oklch */ color: oklch(55.5% 0.155 274.7);
Tailwind
colors: {
  custom: {
    50: '#9192dc',
    500: '#5a67cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a67cc;
$custom-light: #9192dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a67cc",
  "rgb": {
    "r": 90,
    "g": 103,
    "b": 204
  },
  "hsl": {
    "h": 233.158,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55487,
    "c": 0.15512,
    "h": 274.7
  },
  "luminance": 0.16234
}

Semantic roles & 50–950 ramp

primary
#5A67CC
secondary
#D8D3AA
accent
#CC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0D15
muted
#7E7D83

Preview Lab

Preview with #5A67CC

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

Preview Lab → · Contrast checker → · Palette generator →

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