#5774CC#5774CC

#5774CC is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.139 H 268.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5774CC
RGBrgb(87, 116, 204)
HSLhsl(225, 53%, 57%)
HSVhsv(225, 57%, 80%)
CMYKcmyk(57.4%, 43.1%, 0%, 20%)
CIE-LABlab(50.54, 15.80, -48.92)
CIE-LCHlch(50.54, 51.41, 287.90°)
OKLaboklab(57.92% -0.0045 -0.1392)
OKLCHoklch(57.92% 0.139 268.1)
XYZxyz(21.0713, 18.8750, 59.6479)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5774CC #CCAF57
analogous
#57AFCC #5774CC #7457CC
triadic
#5774CC #CC5774 #74CC57
tetradic
#5774CC #CC57AF #CCAF57 #57CC74
square
#5774CC #CC57AF #CCAF57 #57CC74
split-complementary
#5774CC #CC7457 #AFCC57
monochromatic
#273E81 #3654B0 #5774CC #869BDA #B5C2E9

Accessibility & contrast

On white

4.40
#5774CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5774CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5774CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5774CC#FFFFFF#000000##000000
##5774CC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5774cc;
/* rgb */ color: rgb(87, 116, 204);
/* oklch */ color: oklch(57.9% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#8f9bdc',
    500: '#5774cc',
    950: '#000000',
  },
}
SCSS
$custom: #5774cc;
$custom-light: #8f9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5774cc",
  "rgb": {
    "r": 87,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 225.128,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57924,
    "c": 0.13929,
    "h": 268.1
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#5774CC
secondary
#D7CBA8
accent
#B94BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5774CC

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

Preview Lab → · Contrast checker → · Palette generator →

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