#5674CF#5674CF

#5674CF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.144 H 268.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5674CF
RGBrgb(86, 116, 207)
HSLhsl(225, 56%, 57%)
HSVhsv(225, 58%, 81%)
CMYKcmyk(58.5%, 44%, 0%, 18.8%)
CIE-LABlab(50.66, 16.60, -50.45)
CIE-LCHlch(50.66, 53.11, 288.21°)
OKLaboklab(58.05% -0.005 -0.1437)
OKLCHoklch(58.05% 0.144 268)
XYZxyz(21.3418, 18.9725, 61.5568)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674CF #CFB156
analogous
#56B0CF #5674CF #7556CF
triadic
#5674CF #CF5674 #74CF56
tetradic
#5674CF #CF56B0 #CFB156 #56CF75
square
#5674CF #CF56B0 #CFB156 #56CF75
split-complementary
#5674CF #CF7556 #B0CF56
monochromatic
#263D85 #3353B5 #5674CF #869BDD #B5C2EA

Accessibility & contrast

On white

4.38
#5674CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5674CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674CF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674CF#FFFFFF#000000##000000
##5674CF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED2
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5674cf;
/* rgb */ color: rgb(86, 116, 207);
/* oklch */ color: oklch(58.1% 0.144 268.0);
Tailwind
colors: {
  custom: {
    50: '#8f9bde',
    500: '#5674cf',
    950: '#000000',
  },
}
SCSS
$custom: #5674cf;
$custom-light: #8f9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5674cf",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 207
  },
  "hsl": {
    "h": 225.124,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.14382,
    "h": 268
  },
  "luminance": 0.18974
}

Semantic roles & 50–950 ramp

primary
#5674CF
secondary
#D9CDA8
accent
#BA49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5674CF

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

Preview Lab → · Contrast checker → · Palette generator →

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