#5674E7#5674E7

#5674E7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.177 H 269.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5674E7
RGBrgb(86, 116, 231)
HSLhsl(228, 75%, 62%)
HSVhsv(228, 63%, 91%)
CMYKcmyk(62.8%, 49.8%, 0%, 9.4%)
CIE-LABlab(52.10, 24.67, -61.69)
CIE-LCHlch(52.10, 66.44, 291.80°)
OKLaboklab(59.62% -0.0018 -0.1768)
OKLCHoklch(59.62% 0.177 269.4)
XYZxyz(24.5021, 20.2366, 78.2006)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674E7 #E7C956
analogous
#56BDE7 #5674E7 #8056E7
triadic
#5674E7 #E75674 #74E756
tetradic
#5674E7 #E756BD #E7C956 #56E780
square
#5674E7 #E756BD #E7C956 #56E780
split-complementary
#5674E7 #E78056 #BDE756
monochromatic
#1836AA #2048DF #5674E7 #8CA0EF #C1CCF6

Accessibility & contrast

On white

4.16
#5674E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5674E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674E7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674E7#FFFFFF#000000##000000
##5674E71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#0876E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5674e7;
/* rgb */ color: rgb(86, 116, 231);
/* oklch */ color: oklch(59.6% 0.177 269.4);
Tailwind
colors: {
  custom: {
    50: '#939bef',
    500: '#5674e7',
    950: '#000000',
  },
}
SCSS
$custom: #5674e7;
$custom-light: #939bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5674e7",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 227.586,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59622,
    "c": 0.17677,
    "h": 269.4
  },
  "luminance": 0.20239
}

Semantic roles & 50–950 ramp

primary
#5674E7
secondary
#E7DCB2
accent
#AE0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674E7

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

Preview Lab → · Contrast checker → · Palette generator →

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