#5674CD#5674CD

#5674CD is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.141 H 267.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5674CD
RGBrgb(86, 116, 205)
HSLhsl(225, 54%, 57%)
HSVhsv(225, 58%, 80%)
CMYKcmyk(58%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.54, 15.93, -49.49)
CIE-LCHlch(50.54, 52.00, 287.84°)
OKLaboklab(57.93% -0.0053 -0.1409)
OKLCHoklch(57.93% 0.141 267.8)
XYZxyz(21.0989, 18.8753, 60.2772)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674CD #CDAF56
analogous
#56B0CD #5674CD #7456CD
triadic
#5674CD #CD5674 #74CD56
tetradic
#5674CD #CD56B0 #CDAF56 #56CD74
square
#5674CD #CD56B0 #CDAF56 #56CD74
split-complementary
#5674CD #CD7456 #B0CD56
monochromatic
#263E82 #3454B1 #5674CD #859BDB #B4C2E9

Accessibility & contrast

On white

4.40
#5674CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5674CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674CD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674CD#FFFFFF#000000##000000
##5674CD1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED0
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5674cd;
/* rgb */ color: rgb(86, 116, 205);
/* oklch */ color: oklch(57.9% 0.141 267.8);
Tailwind
colors: {
  custom: {
    50: '#8f9bdd',
    500: '#5674cd',
    950: '#000000',
  },
}
SCSS
$custom: #5674cd;
$custom-light: #8f9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5674cd",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 224.874,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57927,
    "c": 0.14102,
    "h": 267.8
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#5674CD
secondary
#D8CBA7
accent
#B84ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5674CD

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

Preview Lab → · Contrast checker → · Palette generator →

#5674CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva