#4770E1#4770E1

#4770E1 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.178 H 266.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4770E1
RGBrgb(71, 112, 225)
HSLhsl(224, 72%, 58%)
HSVhsv(224, 68%, 88%)
CMYKcmyk(68.4%, 50.2%, 0%, 11.8%)
CIE-LABlab(49.93, 22.70, -61.85)
CIE-LCHlch(49.93, 65.89, 290.16°)
OKLaboklab(57.65% -0.0125 -0.1776)
OKLCHoklch(57.65% 0.178 266)
XYZxyz(21.9786, 18.3620, 73.6055)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770E1 #E1B847
analogous
#47BDE1 #4770E1 #6B47E1
triadic
#4770E1 #E14770 #70E147
tetradic
#4770E1 #E147BD #E1B847 #47E16B
square
#4770E1 #E147BD #E1B847 #47E16B
split-complementary
#4770E1 #E16B47 #BDE147
monochromatic
#183A95 #214ECA #4770E1 #7C99EA #B0C2F2

Accessibility & contrast

On white

4.49
#4770E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#4770E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4770E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770E1#FFFFFF#000000##000000
##4770E11.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7EE5
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4770e1;
/* rgb */ color: rgb(71, 112, 225);
/* oklch */ color: oklch(57.7% 0.178 266.0);
Tailwind
colors: {
  custom: {
    50: '#8b98eb',
    500: '#4770e1',
    950: '#000000',
  },
}
SCSS
$custom: #4770e1;
$custom-light: #8b98eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4770e1",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 224.026,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57651,
    "c": 0.17804,
    "h": 266
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#4770E1
secondary
#E1D0A3
accent
#BE39EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4770E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4770E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva