#5674E4#5674E4

#5674E4 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.4% C 0.173 H 269.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5674E4
RGBrgb(86, 116, 228)
HSLhsl(227, 72%, 62%)
HSVhsv(227, 62%, 89%)
CMYKcmyk(62.3%, 49.1%, 0%, 10.6%)
CIE-LABlab(51.91, 23.65, -60.31)
CIE-LCHlch(51.91, 64.78, 291.42°)
OKLaboklab(59.42% -0.0021 -0.1727)
OKLCHoklch(59.42% 0.173 269.3)
XYZxyz(24.0820, 20.0686, 75.9883)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674E4 #E4C656
analogous
#56BBE4 #5674E4 #7F56E4
triadic
#5674E4 #E45674 #74E456
tetradic
#5674E4 #E456BB #E4C656 #56E47F
square
#5674E4 #E456BB #E4C656 #56E47F
split-complementary
#5674E4 #E47F56 #BBE456
monochromatic
#1A38A5 #234ADA #5674E4 #8B9FEC #C0CBF5

Accessibility & contrast

On white

4.19
#5674E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5674E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674E4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674E4#FFFFFF#000000##000000
##5674E41.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3882E8
Deuteranopia (green-blind)
#1576E2
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5674e4;
/* rgb */ color: rgb(86, 116, 228);
/* oklch */ color: oklch(59.4% 0.173 269.3);
Tailwind
colors: {
  custom: {
    50: '#929bed',
    500: '#5674e4',
    950: '#000000',
  },
}
SCSS
$custom: #5674e4;
$custom-light: #929bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5674e4",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 227.324,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59418,
    "c": 0.17271,
    "h": 269.3
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#5674E4
secondary
#E5DAB0
accent
#AB11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674E4

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

Preview Lab → · Contrast checker → · Palette generator →

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