#476AC4#476AC4

#476AC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.4% C 0.146 H 265.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#476AC4
RGBrgb(71, 106, 196)
HSLhsl(223, 51%, 52%)
HSVhsv(223, 64%, 77%)
CMYKcmyk(63.8%, 45.9%, 0%, 23.1%)
CIE-LABlab(46.49, 16.25, -50.86)
CIE-LCHlch(46.49, 53.40, 287.72°)
OKLaboklab(54.44% -0.0107 -0.1454)
OKLCHoklch(54.44% 0.146 265.8)
XYZxyz(17.7129, 15.6316, 54.2976)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476AC4 #C4A147
analogous
#47A8C4 #476AC4 #6347C4
triadic
#476AC4 #C4476A #6AC447
tetradic
#476AC4 #C447A8 #C4A147 #47C463
square
#476AC4 #C447A8 #C4A147 #47C463
split-complementary
#476AC4 #C46347 #A8C447
monochromatic
#23386D #32509C #476AC4 #7590D3 #A4B5E2

Accessibility & contrast

On white

5.09
#476AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#476AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476AC4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476AC4#FFFFFF#000000##FFFFFF
##476AC41.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C7
Deuteranopia (green-blind)
#2869C2
Tritanopia (blue-blind)
#007F8D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #476ac4;
/* rgb */ color: rgb(71, 106, 196);
/* oklch */ color: oklch(54.4% 0.146 265.8);
Tailwind
colors: {
  custom: {
    50: '#8694d6',
    500: '#476ac4',
    950: '#000000',
  },
}
SCSS
$custom: #476ac4;
$custom-light: #8694d6;
$custom-dark: #000000;
JSON
{
  "hex": "#476ac4",
  "rgb": {
    "r": 71,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 223.2,
    "s": 51.44,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.14576,
    "h": 265.8
  },
  "luminance": 0.15633
}

Semantic roles & 50–950 ramp

primary
#476AC4
secondary
#CFBF98
accent
#B34DDB
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #476AC4

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

Preview Lab → · Contrast checker → · Palette generator →

#476AC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva