#5673D1#5673D1

#5673D1 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.148 H 268.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5673D1
RGBrgb(86, 115, 209)
HSLhsl(226, 57%, 58%)
HSVhsv(226, 59%, 82%)
CMYKcmyk(58.9%, 45%, 0%, 18%)
CIE-LABlab(50.50, 17.88, -51.84)
CIE-LCHlch(50.50, 54.83, 289.03°)
OKLaboklab(57.97% -0.0036 -0.1478)
OKLCHoklch(57.97% 0.148 268.6)
XYZxyz(21.4732, 18.8416, 62.8145)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5673D1 #D1B456
analogous
#56B0D1 #5673D1 #7756D1
triadic
#5673D1 #D15673 #73D156
tetradic
#5673D1 #D156B0 #D1B456 #56D177
square
#5673D1 #D156B0 #D1B456 #56D177
split-complementary
#5673D1 #D17756 #B0D156
monochromatic
#253C88 #3252B8 #5673D1 #869BDE #B6C3EB

Accessibility & contrast

On white

4.40
#5673D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5673D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5673D1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5673D1#FFFFFF#000000##000000
##5673D11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ED5
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#008898
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5673d1;
/* rgb */ color: rgb(86, 115, 209);
/* oklch */ color: oklch(58.0% 0.148 268.6);
Tailwind
colors: {
  custom: {
    50: '#8f9ae0',
    500: '#5673d1',
    950: '#000000',
  },
}
SCSS
$custom: #5673d1;
$custom-light: #8f9ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#5673d1",
  "rgb": {
    "r": 86,
    "g": 115,
    "b": 209
  },
  "hsl": {
    "h": 225.854,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.14785,
    "h": 268.6
  },
  "luminance": 0.18843
}

Semantic roles & 50–950 ramp

primary
#5673D1
secondary
#DACEA9
accent
#BC47E0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5673D1

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

Preview Lab → · Contrast checker → · Palette generator →

#5673D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva