#5774DB#5774DB

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

Color values

HEX#5774DB
RGBrgb(87, 116, 219)
HSLhsl(227, 65%, 60%)
HSVhsv(227, 60%, 86%)
CMYKcmyk(60.3%, 47%, 0%, 14.1%)
CIE-LABlab(51.42, 20.80, -56.04)
CIE-LCHlch(51.42, 59.77, 290.37°)
OKLaboklab(58.88% -0.0022 -0.1601)
OKLCHoklch(58.88% 0.16 269.2)
XYZxyz(22.9577, 19.6296, 69.5832)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5774DB #DBBE57
analogous
#57B6DB #5774DB #7C57DB
triadic
#5774DB #DB5774 #74DB57
tetradic
#5774DB #DB57B6 #DBBE57 #57DB7C
square
#5774DB #DB57B6 #DBBE57 #57DB7C
split-complementary
#5774DB #DB7C57 #B6DB57
monochromatic
#203B97 #2B4ECA #5774DB #899EE6 #BCC7F1

Accessibility & contrast

On white

4.26
#5774DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5774DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5774DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5774DB#FFFFFF#000000##000000
##5774DB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5774db;
/* rgb */ color: rgb(87, 116, 219);
/* oklch */ color: oklch(58.9% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#919be7',
    500: '#5774db',
    950: '#000000',
  },
}
SCSS
$custom: #5774db;
$custom-light: #919be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5774db",
  "rgb": {
    "r": 87,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 226.818,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.58876,
    "c": 0.16014,
    "h": 269.2
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5774DB

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

Preview Lab → · Contrast checker → · Palette generator →

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