#476BC7#476BC7

#476BC7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.8% C 0.149 H 265.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#476BC7
RGBrgb(71, 107, 199)
HSLhsl(223, 53%, 53%)
HSVhsv(223, 64%, 78%)
CMYKcmyk(64.3%, 46.2%, 0%, 22%)
CIE-LABlab(46.94, 16.68, -51.86)
CIE-LCHlch(46.94, 54.47, 287.83°)
OKLaboklab(54.85% -0.0112 -0.1483)
OKLCHoklch(54.85% 0.149 265.7)
XYZxyz(18.1615, 15.9768, 56.1485)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#476BC7 #C7A347
analogous
#47ABC7 #476BC7 #6347C7
triadic
#476BC7 #C7476B #6BC747
tetradic
#476BC7 #C747AB #C7A347 #47C763
square
#476BC7 #C747AB #C7A347 #47C763
split-complementary
#476BC7 #C76347 #ABC747
monochromatic
#223971 #3150A0 #476BC7 #7691D5 #A5B6E4

Accessibility & contrast

On white

5.01
#476BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#476BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #476BC7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##476BC7#FFFFFF#000000##FFFFFF
##476BC71.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D75CA
Deuteranopia (green-blind)
#266AC5
Tritanopia (blue-blind)
#00808F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #476bc7;
/* rgb */ color: rgb(71, 107, 199);
/* oklch */ color: oklch(54.8% 0.149 265.7);
Tailwind
colors: {
  custom: {
    50: '#8794d8',
    500: '#476bc7',
    950: '#000000',
  },
}
SCSS
$custom: #476bc7;
$custom-light: #8794d8;
$custom-dark: #000000;
JSON
{
  "hex": "#476bc7",
  "rgb": {
    "r": 71,
    "g": 107,
    "b": 199
  },
  "hsl": {
    "h": 223.125,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54845,
    "c": 0.14871,
    "h": 265.7
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#476BC7
secondary
#D1C199
accent
#B44BDD
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #476BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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