#474875#474875

#474875 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.2% C 0.074 H 281.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#474875
RGBrgb(71, 72, 117)
HSLhsl(239, 24%, 37%)
HSVhsv(239, 39%, 46%)
CMYKcmyk(39.3%, 38.5%, 0%, 54.1%)
CIE-LABlab(32.39, 11.70, -25.93)
CIE-LCHlch(32.39, 28.44, 294.28°)
OKLaboklab(42.16% 0.0151 -0.0727)
OKLCHoklch(42.16% 0.074 281.8)
XYZxyz(8.1259, 7.2584, 17.7990)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474875 #757447
analogous
#475F75 #474875 #5D4775
triadic
#474875 #754748 #487547
tetradic
#474875 #75475F #757447 #47755D
square
#474875 #75475F #757447 #47755D
split-complementary
#474875 #755D47 #5F7547
monochromatic
#191929 #30314F #474875 #5E5F9B #8384B4

Accessibility & contrast

On white

8.57
#474875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#474875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474875
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474875#FFFFFF#000000##FFFFFF
##4748751.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E77
Deuteranopia (green-blind)
#374B74
Tritanopia (blue-blind)
#3A5159
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #474875;
/* rgb */ color: rgb(71, 72, 117);
/* oklch */ color: oklch(42.2% 0.074 281.8);
Tailwind
colors: {
  custom: {
    50: '#7c7a9d',
    500: '#474875',
    950: '#000000',
  },
}
SCSS
$custom: #474875;
$custom-light: #7c7a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#474875",
  "rgb": {
    "r": 71,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 238.696,
    "s": 24.468,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42159,
    "c": 0.07425,
    "h": 281.8
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#474875
secondary
#A09F78
accent
#BF67C1
background
#F7F7F9
surface
#EEEDF2
border
#C9C8CC
text
#0A090E
muted
#7C7B7E

Preview Lab

Preview with #474875

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

Preview Lab → · Contrast checker → · Palette generator →

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