#4774E2#4774E2

#4774E2 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.175 H 264.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4774E2
RGBrgb(71, 116, 226)
HSLhsl(223, 73%, 58%)
HSVhsv(223, 69%, 89%)
CMYKcmyk(68.6%, 48.7%, 0%, 11.4%)
CIE-LABlab(51.06, 20.56, -60.60)
CIE-LCHlch(51.06, 63.99, 288.74°)
OKLaboklab(58.53% -0.0158 -0.1739)
OKLCHoklch(58.53% 0.175 264.8)
XYZxyz(22.5666, 19.3191, 74.4764)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4774E2 #E2B547
analogous
#47C1E2 #4774E2 #6747E2
triadic
#4774E2 #E24774 #74E247
tetradic
#4774E2 #E247C1 #E2B547 #47E267
square
#4774E2 #E247C1 #E2B547 #47E267
split-complementary
#4774E2 #E26747 #C1E247
monochromatic
#183D97 #2052CC #4774E2 #7C9CEA #B1C4F3

Accessibility & contrast

On white

4.32
#4774E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4774E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4774E2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4774E2#FFFFFF#000000##000000
##4774E21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3781E6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#008EA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4774e2;
/* rgb */ color: rgb(71, 116, 226);
/* oklch */ color: oklch(58.5% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#8b9bec',
    500: '#4774e2',
    950: '#000000',
  },
}
SCSS
$custom: #4774e2;
$custom-light: #8b9bec;
$custom-dark: #000000;
JSON
{
  "hex": "#4774e2",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 222.581,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.17458,
    "h": 264.8
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#4774E2
secondary
#E1CFA4
accent
#BA38EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4774E2

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

Preview Lab → · Contrast checker → · Palette generator →

#4774E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva