#5774F6#5774F6

#5774F6 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.196 H 270.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5774F6
RGBrgb(87, 116, 246)
HSLhsl(229, 90%, 65%)
HSVhsv(229, 65%, 96%)
CMYKcmyk(64.6%, 52.8%, 0%, 3.5%)
CIE-LABlab(53.13, 29.90, -68.39)
CIE-LCHlch(53.13, 74.64, 293.61°)
OKLaboklab(60.73% 0.0004 -0.1965)
OKLCHoklch(60.73% 0.196 270.1)
XYZxyz(26.8048, 21.1684, 89.8442)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5774F6 #F6D957
analogous
#57C3F6 #5774F6 #8A57F6
triadic
#5774F6 #F65774 #74F657
tetradic
#5774F6 #F657C3 #F6D957 #57F68A
square
#5774F6 #F657C3 #F6D957 #57F68A
split-complementary
#5774F6 #F68A57 #C3F657
monochromatic
#0B2DC8 #1D44F3 #5774F6 #91A4F9 #CBD4FC

Accessibility & contrast

On white

4.01
#5774F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5774F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5774F6
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5774F6#FFFFFF#000000##000000
##5774F61.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1986FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#0093AA
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5774f6;
/* rgb */ color: rgb(87, 116, 246);
/* oklch */ color: oklch(60.7% 0.196 270.1);
Tailwind
colors: {
  custom: {
    50: '#969bfa',
    500: '#5774f6',
    950: '#000000',
  },
}
SCSS
$custom: #5774f6;
$custom-light: #969bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5774f6",
  "rgb": {
    "r": 87,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 229.057,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60726,
    "c": 0.19647,
    "h": 270.1
  },
  "luminance": 0.21171
}

Semantic roles & 50–950 ramp

primary
#5774F6
secondary
#EFE5BA
accent
#BC00E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5774F6

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

Preview Lab → · Contrast checker → · Palette generator →

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