#5774DF#5774DF

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

Color values

HEX#5774DF
RGBrgb(87, 116, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 61%, 87%)
CMYKcmyk(61%, 48%, 0%, 12.5%)
CIE-LABlab(51.66, 22.14, -57.90)
CIE-LCHlch(51.66, 61.99, 290.93°)
OKLaboklab(59.14% -0.0017 -0.1656)
OKLCHoklch(59.14% 0.166 269.4)
XYZxyz(23.4907, 19.8427, 72.3899)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5774DF #DFC257
analogous
#57B8DF #5774DF #7E57DF
triadic
#5774DF #DF5774 #74DF57
tetradic
#5774DF #DF57B8 #DFC257 #57DF7E
square
#5774DF #DF57B8 #DFC257 #57DF7E
split-complementary
#5774DF #DF7E57 #B8DF57
monochromatic
#1E399E #284CD1 #5774DF #8A9FE9 #BEC9F3

Accessibility & contrast

On white

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

On black

4.97
#5774DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5774DF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5774DF#FFFFFF#000000##000000
##5774DF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5774df;
/* rgb */ color: rgb(87, 116, 223);
/* oklch */ color: oklch(59.1% 0.166 269.4);
Tailwind
colors: {
  custom: {
    50: '#929bea',
    500: '#5774df',
    950: '#000000',
  },
}
SCSS
$custom: #5774df;
$custom-light: #929bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5774df",
  "rgb": {
    "r": 87,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 227.206,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.16562,
    "h": 269.4
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#5774DF
secondary
#E3D8AF
accent
#A816D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5774DF

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

Preview Lab → · Contrast checker → · Palette generator →

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