#475178#475178

#475178 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.3% C 0.066 H 272.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#475178
RGBrgb(71, 81, 120)
HSLhsl(228, 26%, 37%)
HSVhsv(228, 41%, 47%)
CMYKcmyk(40.8%, 32.5%, 0%, 52.9%)
CIE-LABlab(35.16, 6.78, -23.45)
CIE-LCHlch(35.16, 24.41, 286.11°)
OKLaboklab(44.35% 0.0029 -0.0655)
OKLCHoklch(44.35% 0.066 272.5)
XYZxyz(8.9301, 8.5801, 18.9513)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475178 #786E47
analogous
#476978 #475178 #564778
triadic
#475178 #784751 #517847
tetradic
#475178 #784769 #786E47 #477856
square
#475178 #784769 #786E47 #477856
split-complementary
#475178 #785647 #697847
monochromatic
#1A1D2B #303752 #475178 #5E6B9E #838EB6

Accessibility & contrast

On white

7.73
#475178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#475178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475178
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475178#FFFFFF#000000##FFFFFF
##4751781.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#405177
Tritanopia (blue-blind)
#38595F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #475178;
/* rgb */ color: rgb(71, 81, 120);
/* oklch */ color: oklch(44.3% 0.066 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c819f',
    500: '#475178',
    950: '#000000',
  },
}
SCSS
$custom: #475178;
$custom-light: #7c819f;
$custom-dark: #000000;
JSON
{
  "hex": "#475178",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 227.755,
    "s": 25.654,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.06558,
    "h": 272.5
  },
  "luminance": 0.08581
}

Semantic roles & 50–950 ramp

primary
#475178
secondary
#A29979
accent
#AF66C2
background
#F7F7F9
surface
#EEEEF2
border
#C9C9CC
text
#0A0A0E
muted
#7C7C7E

Preview Lab

Preview with #475178

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

Preview Lab → · Contrast checker → · Palette generator →

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