#475271#475271

#475271 is a dark, muted blue. Relative luminance 0.086; OKLCH L 44.2% C 0.053 H 269.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#475271
RGBrgb(71, 82, 113)
HSLhsl(224, 23%, 36%)
HSVhsv(224, 37%, 44%)
CMYKcmyk(37.2%, 27.4%, 0%, 55.7%)
CIE-LABlab(35.14, 4.02, -19.15)
CIE-LCHlch(35.14, 19.57, 281.86°)
OKLaboklab(44.22% -0.0008 -0.0531)
OKLCHoklch(44.22% 0.053 269.1)
XYZxyz(8.5956, 8.5661, 16.8201)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475271 #716647
analogous
#476771 #475271 #514771
triadic
#475271 #714752 #527147
tetradic
#475271 #714767 #716647 #477151
square
#475271 #714767 #716647 #477151
split-complementary
#475271 #715147 #677147
monochromatic
#181B26 #2F374B #475271 #5F6D97 #828EB0

Accessibility & contrast

On white

7.74
#475271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#475271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475271
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475271#FFFFFF#000000##FFFFFF
##4752711.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485572
Deuteranopia (green-blind)
#445170
Tritanopia (blue-blind)
#3B585D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475271;
/* rgb */ color: rgb(71, 82, 113);
/* oklch */ color: oklch(44.2% 0.053 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b829a',
    500: '#475271',
    950: '#000000',
  },
}
SCSS
$custom: #475271;
$custom-light: #7b829a;
$custom-dark: #000000;
JSON
{
  "hex": "#475271",
  "rgb": {
    "r": 71,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 224.286,
    "s": 22.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.05316,
    "h": 269.1
  },
  "luminance": 0.08566
}

Semantic roles & 50–950 ramp

primary
#475271
secondary
#9D9377
accent
#A968BF
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#090A0E
muted
#7B7C7E

Preview Lab

Preview with #475271

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

Preview Lab → · Contrast checker → · Palette generator →

#475271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva