#5674E9#5674E9

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

Color values

HEX#5674E9
RGBrgb(86, 116, 233)
HSLhsl(228, 77%, 63%)
HSVhsv(228, 63%, 91%)
CMYKcmyk(63.1%, 50.2%, 0%, 8.6%)
CIE-LABlab(52.23, 25.34, -62.60)
CIE-LCHlch(52.23, 67.54, 292.04°)
OKLaboklab(59.76% -0.0016 -0.1794)
OKLCHoklch(59.76% 0.179 269.5)
XYZxyz(24.7861, 20.3502, 79.6968)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674E9 #E9CB56
analogous
#56BEE9 #5674E9 #8156E9
triadic
#5674E9 #E95674 #74E956
tetradic
#5674E9 #E956BE #E9CB56 #56E981
square
#5674E9 #E956BE #E9CB56 #56E981
split-complementary
#5674E9 #E98156 #BEE956
monochromatic
#1736AE #2047E2 #5674E9 #8CA1F0 #C2CDF7

Accessibility & contrast

On white

4.14
#5674E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5674E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674E9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674E9#FFFFFF#000000##000000
##5674E91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3183ED
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5674e9;
/* rgb */ color: rgb(86, 116, 233);
/* oklch */ color: oklch(59.8% 0.179 269.5);
Tailwind
colors: {
  custom: {
    50: '#939bf1',
    500: '#5674e9',
    950: '#000000',
  },
}
SCSS
$custom: #5674e9;
$custom-light: #939bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5674e9",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 227.755,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.17946,
    "h": 269.5
  },
  "luminance": 0.20352
}

Semantic roles & 50–950 ramp

primary
#5674E9
secondary
#E8DDB3
accent
#AF0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5674E9

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

Preview Lab → · Contrast checker → · Palette generator →

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