#5674EA#5674EA

#5674EA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.181 H 269.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5674EA
RGBrgb(86, 116, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 63%, 92%)
CMYKcmyk(63.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.29, 25.68, -63.06)
CIE-LCHlch(52.29, 68.09, 292.16°)
OKLaboklab(59.83% -0.0015 -0.1808)
OKLCHoklch(59.83% 0.181 269.5)
XYZxyz(24.9294, 20.4075, 80.4512)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674EA #EACC56
analogous
#56BEEA #5674EA #8256EA
triadic
#5674EA #EA5674 #74EA56
tetradic
#5674EA #EA56BE #EACC56 #56EA82
square
#5674EA #EA56BE #EACC56 #56EA82
split-complementary
#5674EA #EA8256 #BEEA56
monochromatic
#1635B0 #2047E3 #5674EA #8CA1F1 #C3CEF8

Accessibility & contrast

On white

4.13
#5674EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5674EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674EA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674EA#FFFFFF#000000##000000
##5674EA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5674ea;
/* rgb */ color: rgb(86, 116, 234);
/* oklch */ color: oklch(59.8% 0.181 269.5);
Tailwind
colors: {
  custom: {
    50: '#939bf1',
    500: '#5674ea',
    950: '#000000',
  },
}
SCSS
$custom: #5674ea;
$custom-light: #939bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5674ea",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 227.838,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.18081,
    "h": 269.5
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

primary
#5674EA
secondary
#E9DEB3
accent
#B00BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5674EA

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

Preview Lab → · Contrast checker → · Palette generator →

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