#474F87#474F87

#474F87 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.8% C 0.092 H 275.9°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#474F87
RGBrgb(71, 79, 135)
HSLhsl(233, 31%, 40%)
HSVhsv(233, 47%, 53%)
CMYKcmyk(47.4%, 41.5%, 0%, 47.1%)
CIE-LABlab(35.36, 12.80, -32.39)
CIE-LCHlch(35.36, 34.83, 291.57°)
OKLaboklab(44.76% 0.0094 -0.0915)
OKLCHoklch(44.76% 0.092 275.9)
XYZxyz(9.7663, 8.6803, 24.0778)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474F87 #877F47
analogous
#476F87 #474F87 #5F4787
triadic
#474F87 #87474F #4F8747
tetradic
#474F87 #87476F #877F47 #47875F
square
#474F87 #87476F #877F47 #47875F
split-complementary
#474F87 #875F47 #6F8747
monochromatic
#1D2037 #32385F #474F87 #6069AB #888FC0

Accessibility & contrast

On white

7.67
#474F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#474F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474F87
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474F87#FFFFFF#000000##FFFFFF
##474F871.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5689
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#305B64
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #474f87;
/* rgb */ color: rgb(71, 79, 135);
/* oklch */ color: oklch(44.8% 0.092 275.9);
Tailwind
colors: {
  custom: {
    50: '#7e80aa',
    500: '#474f87',
    950: '#000000',
  },
}
SCSS
$custom: #474f87;
$custom-light: #7e80aa;
$custom-dark: #000000;
JSON
{
  "hex": "#474f87",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 232.5,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.09195,
    "h": 275.9
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#474F87
secondary
#ACA67E
accent
#BA61C7
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #474F87

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

Preview Lab → · Contrast checker → · Palette generator →

#474F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva