#475AC7#475AC7

#475AC7 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.4% C 0.170 H 271.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#475AC7
RGBrgb(71, 90, 199)
HSLhsl(231, 53%, 53%)
HSVhsv(231, 64%, 78%)
CMYKcmyk(64.3%, 54.8%, 0%, 22%)
CIE-LABlab(42.42, 27.45, -59.15)
CIE-LCHlch(42.42, 65.21, 294.89°)
OKLaboklab(51.42% 0.0049 -0.1699)
OKLCHoklch(51.42% 0.17 271.6)
XYZxyz(16.5600, 12.7740, 55.6147)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475AC7 #C7B447
analogous
#479AC7 #475AC7 #7447C7
triadic
#475AC7 #C7475A #5AC747
tetradic
#475AC7 #C7479A #C7B447 #47C774
square
#475AC7 #C7479A #C7B447 #47C774
split-complementary
#475AC7 #C77447 #9AC747
monochromatic
#222E71 #3141A0 #475AC7 #7684D5 #A5AEE4

Accessibility & contrast

On white

5.91
#475AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#475AC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #475AC7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475AC7#FFFFFF#000000##FFFFFF
##475AC71.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ACB
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #475ac7;
/* rgb */ color: rgb(71, 90, 199);
/* oklch */ color: oklch(51.4% 0.170 271.6);
Tailwind
colors: {
  custom: {
    50: '#8788d9',
    500: '#475ac7',
    950: '#000000',
  },
}
SCSS
$custom: #475ac7;
$custom-light: #8788d9;
$custom-dark: #000000;
JSON
{
  "hex": "#475ac7",
  "rgb": {
    "r": 71,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 231.094,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.17002,
    "h": 271.6
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#475AC7
secondary
#D1C899
accent
#C74BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #475AC7

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

Preview Lab → · Contrast checker → · Palette generator →

#475AC7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva