#5674DF#5674DF

#5674DF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.166 H 269.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5674DF
RGBrgb(86, 116, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 61%, 87%)
CMYKcmyk(61.4%, 48%, 0%, 12.5%)
CIE-LABlab(51.60, 21.97, -57.99)
CIE-LCHlch(51.60, 62.01, 290.74°)
OKLaboklab(59.08% -0.0027 -0.1659)
OKLCHoklch(59.08% 0.166 269.1)
XYZxyz(23.3979, 19.7949, 72.3855)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674DF #DFC156
analogous
#56B9DF #5674DF #7C56DF
triadic
#5674DF #DF5674 #74DF56
tetradic
#5674DF #DF56B9 #DFC156 #56DF7C
square
#5674DF #DF56B9 #DFC156 #56DF7C
split-complementary
#5674DF #DF7C56 #B9DF56
monochromatic
#1E3A9D #274CD0 #5674DF #899EE9 #BDC9F2

Accessibility & contrast

On white

4.23
#5674DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5674DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674DF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674DF#FFFFFF#000000##000000
##5674DF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D81E3
Deuteranopia (green-blind)
#2275DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5674df;
/* rgb */ color: rgb(86, 116, 223);
/* oklch */ color: oklch(59.1% 0.166 269.1);
Tailwind
colors: {
  custom: {
    50: '#929bea',
    500: '#5674df',
    950: '#000000',
  },
}
SCSS
$custom: #5674df;
$custom-light: #929bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5674df",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 226.861,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59083,
    "c": 0.16591,
    "h": 269.1
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

primary
#5674DF
secondary
#E2D7AE
accent
#A715D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5674DF

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

Preview Lab → · Contrast checker → · Palette generator →

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