#5674E2#5674E2

#5674E2 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.170 H 269.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5674E2
RGBrgb(86, 116, 226)
HSLhsl(227, 71%, 61%)
HSVhsv(227, 62%, 89%)
CMYKcmyk(61.9%, 48.7%, 0%, 11.4%)
CIE-LABlab(51.79, 22.98, -59.38)
CIE-LCHlch(51.79, 63.68, 291.15°)
OKLaboklab(59.28% -0.0023 -0.17)
OKLCHoklch(59.28% 0.17 269.2)
XYZxyz(23.8060, 19.9581, 74.5345)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674E2 #E2C456
analogous
#56BAE2 #5674E2 #7E56E2
triadic
#5674E2 #E25674 #74E256
tetradic
#5674E2 #E256BA #E2C456 #56E27E
square
#5674E2 #E256BA #E2C456 #56E27E
split-complementary
#5674E2 #E27E56 #BAE256
monochromatic
#1C38A2 #254BD6 #5674E2 #8A9FEB #BECAF4

Accessibility & contrast

On white

4.21
#5674E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5674E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674E2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674E2#FFFFFF#000000##000000
##5674E21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E6
Deuteranopia (green-blind)
#1B76E0
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5674e2;
/* rgb */ color: rgb(86, 116, 226);
/* oklch */ color: oklch(59.3% 0.170 269.2);
Tailwind
colors: {
  custom: {
    50: '#929bec',
    500: '#5674e2',
    950: '#000000',
  },
}
SCSS
$custom: #5674e2;
$custom-light: #929bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5674e2",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 227.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.17001,
    "h": 269.2
  },
  "luminance": 0.1996
}

Semantic roles & 50–950 ramp

primary
#5674E2
secondary
#E4D9B0
accent
#AA13D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674E2

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

Preview Lab → · Contrast checker → · Palette generator →

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