#4774F4#4774F4

#4774F4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.198 H 266.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#4774F4
RGBrgb(71, 116, 244)
HSLhsl(224, 89%, 62%)
HSVhsv(224, 71%, 96%)
CMYKcmyk(70.9%, 52.5%, 0%, 4.3%)
CIE-LABlab(52.24, 26.93, -68.76)
CIE-LCHlch(52.24, 73.85, 291.39°)
OKLaboklab(59.8% -0.014 -0.1979)
OKLCHoklch(59.8% 0.198 266)
XYZxyz(25.1673, 20.3594, 88.1738)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4774F4 #F4C747
analogous
#47CBF4 #4774F4 #7147F4
triadic
#4774F4 #F44774 #74F447
tetradic
#4774F4 #F447CB #F4C747 #47F471
square
#4774F4 #F447CB #F4C747 #47F471
split-complementary
#4774F4 #F47147 #CBF447
monochromatic
#0B37B6 #0E49EF #4774F4 #81A0F7 #BACBFB

Accessibility & contrast

On white

4.14
#4774F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#4774F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4774F4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4774F4#FFFFFF#000000##000000
##4774F41.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685F9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4774f4;
/* rgb */ color: rgb(71, 116, 244);
/* oklch */ color: oklch(59.8% 0.198 266.0);
Tailwind
colors: {
  custom: {
    50: '#8f9bf9',
    500: '#4774f4',
    950: '#000000',
  },
}
SCSS
$custom: #4774f4;
$custom-light: #8f9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#4774f4",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 224.393,
    "s": 88.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59804,
    "c": 0.19836,
    "h": 266
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#4774F4
secondary
#EBDBAB
accent
#AA00E5
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4774F4

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

Preview Lab → · Contrast checker → · Palette generator →

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