#5674ED#5674ED

#5674ED is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.185 H 269.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5674ED
RGBrgb(86, 116, 237)
HSLhsl(228, 81%, 63%)
HSVhsv(228, 64%, 93%)
CMYKcmyk(63.7%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.49, 26.70, -64.42)
CIE-LCHlch(52.49, 69.74, 292.51°)
OKLaboklab(60.04% -0.0012 -0.1848)
OKLCHoklch(60.04% 0.185 269.6)
XYZxyz(25.3640, 20.5814, 82.7403)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674ED #EDCF56
analogous
#56C0ED #5674ED #8356ED
triadic
#5674ED #ED5674 #74ED56
tetradic
#5674ED #ED56C0 #EDCF56 #56ED83
square
#5674ED #ED56C0 #EDCF56 #56ED83
split-complementary
#5674ED #ED8356 #C0ED56
monochromatic
#1333B5 #1F47E7 #5674ED #8DA1F3 #C5CFF9

Accessibility & contrast

On white

4.10
#5674ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5674ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674ED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674ED#FFFFFF#000000##000000
##5674ED1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5674ed;
/* rgb */ color: rgb(86, 116, 237);
/* oklch */ color: oklch(60.0% 0.185 269.6);
Tailwind
colors: {
  custom: {
    50: '#949bf4',
    500: '#5674ed',
    950: '#000000',
  },
}
SCSS
$custom: #5674ed;
$custom-light: #949bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5674ed",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 228.079,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.18482,
    "h": 269.6
  },
  "luminance": 0.20584
}

Semantic roles & 50–950 ramp

primary
#5674ED
secondary
#EAE0B4
accent
#B308DD
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5674ED

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

Preview Lab → · Contrast checker → · Palette generator →

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