#5674CE#5674CE

#5674CE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.142 H 267.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5674CE
RGBrgb(86, 116, 206)
HSLhsl(225, 55%, 57%)
HSVhsv(225, 58%, 81%)
CMYKcmyk(58.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.60, 16.26, -49.97)
CIE-LCHlch(50.60, 52.55, 288.03°)
OKLaboklab(57.99% -0.0052 -0.1423)
OKLCHoklch(57.99% 0.142 267.9)
XYZxyz(21.2200, 18.9237, 60.9150)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674CE #CEB056
analogous
#56B0CE #5674CE #7456CE
triadic
#5674CE #CE5674 #74CE56
tetradic
#5674CE #CE56B0 #CEB056 #56CE74
square
#5674CE #CE56B0 #CEB056 #56CE74
split-complementary
#5674CE #CE7456 #B0CE56
monochromatic
#263D83 #3454B3 #5674CE #859BDC #B5C2EA

Accessibility & contrast

On white

4.39
#5674CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5674CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674CE
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674CE#FFFFFF#000000##000000
##5674CE1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5674ce;
/* rgb */ color: rgb(86, 116, 206);
/* oklch */ color: oklch(58.0% 0.142 267.9);
Tailwind
colors: {
  custom: {
    50: '#8f9bdd',
    500: '#5674ce',
    950: '#000000',
  },
}
SCSS
$custom: #5674ce;
$custom-light: #8f9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5674ce",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 225,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57989,
    "c": 0.14242,
    "h": 267.9
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#5674CE
secondary
#D8CCA8
accent
#B949DE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5674CE

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

Preview Lab → · Contrast checker → · Palette generator →

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