#5674DA#5674DA

#5674DA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.8% C 0.159 H 268.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5674DA
RGBrgb(86, 116, 218)
HSLhsl(226, 64%, 60%)
HSVhsv(226, 61%, 85%)
CMYKcmyk(60.6%, 46.8%, 0%, 14.5%)
CIE-LABlab(51.30, 20.28, -55.66)
CIE-LCHlch(51.30, 59.24, 290.02°)
OKLaboklab(58.75% -0.0033 -0.159)
OKLCHoklch(58.75% 0.159 268.8)
XYZxyz(22.7338, 19.5293, 68.8876)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674DA #DABC56
analogous
#56B6DA #5674DA #7A56DA
triadic
#5674DA #DA5674 #74DA56
tetradic
#5674DA #DA56B6 #DABC56 #56DA7A
square
#5674DA #DA56B6 #DABC56 #56DA7A
split-complementary
#5674DA #DA7A56 #B6DA56
monochromatic
#213B95 #2C4FC7 #5674DA #889DE5 #BAC7F0

Accessibility & contrast

On white

4.28
#5674DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5674DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674DA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674DA#FFFFFF#000000##000000
##5674DA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DE
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5674da;
/* rgb */ color: rgb(86, 116, 218);
/* oklch */ color: oklch(58.8% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#919be6',
    500: '#5674da',
    950: '#000000',
  },
}
SCSS
$custom: #5674da;
$custom-light: #919be6;
$custom-dark: #000000;
JSON
{
  "hex": "#5674da",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 218
  },
  "hsl": {
    "h": 226.364,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.15907,
    "h": 268.8
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#5674DA
secondary
#E0D4AC
accent
#C141E7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674DA

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

Preview Lab → · Contrast checker → · Palette generator →

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