#5674E1#5674E1

#5674E1 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.169 H 269.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5674E1
RGBrgb(86, 116, 225)
HSLhsl(227, 70%, 61%)
HSVhsv(227, 62%, 88%)
CMYKcmyk(61.8%, 48.4%, 0%, 11.8%)
CIE-LABlab(51.73, 22.64, -58.92)
CIE-LCHlch(51.73, 63.12, 291.02°)
OKLaboklab(59.22% -0.0025 -0.1686)
OKLCHoklch(59.22% 0.169 269.2)
XYZxyz(23.6692, 19.9034, 73.8140)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674E1 #E1C356
analogous
#56BAE1 #5674E1 #7D56E1
triadic
#5674E1 #E15674 #74E156
tetradic
#5674E1 #E156BA #E1C356 #56E17D
square
#5674E1 #E156BA #E1C356 #56E17D
split-complementary
#5674E1 #E17D56 #BAE156
monochromatic
#1C39A0 #264BD4 #5674E1 #8A9FEA #BEC9F3

Accessibility & contrast

On white

4.22
#5674E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5674E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674E1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674E1#FFFFFF#000000##000000
##5674E11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5674e1;
/* rgb */ color: rgb(86, 116, 225);
/* oklch */ color: oklch(59.2% 0.169 269.2);
Tailwind
colors: {
  custom: {
    50: '#929beb',
    500: '#5674e1',
    950: '#000000',
  },
}
SCSS
$custom: #5674e1;
$custom-light: #929beb;
$custom-dark: #000000;
JSON
{
  "hex": "#5674e1",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 225
  },
  "hsl": {
    "h": 227.05,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59216,
    "c": 0.16864,
    "h": 269.2
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#5674E1
secondary
#E4D8AF
accent
#A914D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674E1

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

Preview Lab → · Contrast checker → · Palette generator →

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