#5674CC#5674CC

#5674CC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.9% C 0.140 H 267.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5674CC
RGBrgb(86, 116, 204)
HSLhsl(225, 54%, 57%)
HSVhsv(225, 58%, 80%)
CMYKcmyk(57.8%, 43.1%, 0%, 20%)
CIE-LABlab(50.48, 15.60, -49.01)
CIE-LCHlch(50.48, 51.44, 287.65°)
OKLaboklab(57.87% -0.0055 -0.1395)
OKLCHoklch(57.87% 0.14 267.7)
XYZxyz(20.9786, 18.8272, 59.6435)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5674CC #CCAE56
analogous
#56AFCC #5674CC #7356CC
triadic
#5674CC #CC5674 #74CC56
tetradic
#5674CC #CC56AF #CCAE56 #56CC73
square
#5674CC #CC56AF #CCAE56 #56CC73
split-complementary
#5674CC #CC7356 #AFCC56
monochromatic
#273E81 #3554B0 #5674CC #859BDA #B4C1E8

Accessibility & contrast

On white

4.41
#5674CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5674CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5674CC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5674CC#FFFFFF#000000##000000
##5674CC1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5674cc;
/* rgb */ color: rgb(86, 116, 204);
/* oklch */ color: oklch(57.9% 0.140 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f9bdc',
    500: '#5674cc',
    950: '#000000',
  },
}
SCSS
$custom: #5674cc;
$custom-light: #8f9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5674cc",
  "rgb": {
    "r": 86,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 224.746,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57866,
    "c": 0.13962,
    "h": 267.7
  },
  "luminance": 0.18829
}

Semantic roles & 50–950 ramp

primary
#5674CC
secondary
#D7CBA7
accent
#B84BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5674CC

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

Preview Lab → · Contrast checker → · Palette generator →

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