#5674DB#5674DB

#5674DB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.8% C 0.160 H 268.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5674DB
RGBrgb(86, 116, 219)
HSLhsl(226, 65%, 60%)
HSVhsv(226, 61%, 86%)
CMYKcmyk(60.7%, 47%, 0%, 14.1%)
CIE-LABlab(51.36, 20.62, -56.13)
CIE-LCHlch(51.36, 59.79, 290.17°)
OKLaboklab(58.82% -0.0032 -0.1604)
OKLCHoklch(58.82% 0.16 268.9)
XYZxyz(22.8650, 19.5818, 69.5788)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674DB #DBBD56
analogous
#56B7DB #5674DB #7A56DB
triadic
#5674DB #DB5674 #74DB56
tetradic
#5674DB #DB56B7 #DBBD56 #56DB7A
square
#5674DB #DB56B7 #DBBD56 #56DB7A
split-complementary
#5674DB #DB7A56 #B7DB56
monochromatic
#203B97 #2B4EC9 #5674DB #889DE6 #BBC7F0

Accessibility & contrast

On white

4.27
#5674DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5674DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674DB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674DB#FFFFFF#000000##000000
##5674DB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5674db;
/* rgb */ color: rgb(86, 116, 219);
/* oklch */ color: oklch(58.8% 0.160 268.9);
Tailwind
colors: {
  custom: {
    50: '#919be7',
    500: '#5674db',
    950: '#000000',
  },
}
SCSS
$custom: #5674db;
$custom-light: #919be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5674db",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 226.466,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.16044,
    "h": 268.9
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#5674DB
secondary
#E0D5AD
accent
#C240E8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674DB

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

Preview Lab → · Contrast checker → · Palette generator →

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