#5674DE#5674DE

#5674DE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.0% C 0.165 H 269.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5674DE
RGBrgb(86, 116, 222)
HSLhsl(227, 67%, 60%)
HSVhsv(227, 61%, 87%)
CMYKcmyk(61.3%, 47.7%, 0%, 12.9%)
CIE-LABlab(51.54, 21.63, -57.53)
CIE-LCHlch(51.54, 61.46, 290.60°)
OKLaboklab(59.02% -0.0028 -0.1645)
OKLCHoklch(59.02% 0.165 269)
XYZxyz(23.2635, 19.7412, 71.6776)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674DE #DEC056
analogous
#56B8DE #5674DE #7C56DE
triadic
#5674DE #DE5674 #74DE56
tetradic
#5674DE #DE56B8 #DEC056 #56DE7C
square
#5674DE #DE56B8 #DEC056 #56DE7C
split-complementary
#5674DE #DE7C56 #B8DE56
monochromatic
#1E3A9B #284DCE #5674DE #899EE8 #BCC8F2

Accessibility & contrast

On white

4.24
#5674DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5674DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674DE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674DE#FFFFFF#000000##000000
##5674DE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E2
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5674de;
/* rgb */ color: rgb(86, 116, 222);
/* oklch */ color: oklch(59.0% 0.165 269.0);
Tailwind
colors: {
  custom: {
    50: '#919be9',
    500: '#5674de',
    950: '#000000',
  },
}
SCSS
$custom: #5674de;
$custom-light: #919be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5674de",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 226.765,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59017,
    "c": 0.16455,
    "h": 269
  },
  "luminance": 0.19743
}

Semantic roles & 50–950 ramp

primary
#5674DE
secondary
#E2D6AE
accent
#A616CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674DE

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

Preview Lab → · Contrast checker → · Palette generator →

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