#475987#475987

#475987 is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.078 H 267.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#475987
RGBrgb(71, 89, 135)
HSLhsl(223, 31%, 40%)
HSVhsv(223, 47%, 53%)
CMYKcmyk(47.4%, 34.1%, 0%, 47.1%)
CIE-LABlab(38.26, 6.37, -27.83)
CIE-LCHlch(38.26, 28.55, 282.89°)
OKLaboklab(46.99% -0.0039 -0.0781)
OKLCHoklch(46.99% 0.078 267.1)
XYZxyz(10.5427, 10.2330, 24.3366)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475987 #877547
analogous
#477987 #475987 #554787
triadic
#475987 #874759 #598747
tetradic
#475987 #874779 #877547 #478755
square
#475987 #874779 #877547 #478755
split-complementary
#475987 #875547 #798747
monochromatic
#1D2437 #323F5F #475987 #6075AB #8898C0

Accessibility & contrast

On white

6.89
#475987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#475987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #475987
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475987#FFFFFF#000000##FFFFFF
##4759871.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485D89
Deuteranopia (green-blind)
#425786
Tritanopia (blue-blind)
#2F636A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #475987;
/* rgb */ color: rgb(71, 89, 135);
/* oklch */ color: oklch(47.0% 0.078 267.1);
Tailwind
colors: {
  custom: {
    50: '#7e87aa',
    500: '#475987',
    950: '#000000',
  },
}
SCSS
$custom: #475987;
$custom-light: #7e87aa;
$custom-dark: #000000;
JSON
{
  "hex": "#475987",
  "rgb": {
    "r": 71,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 223.125,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.07825,
    "h": 267.1
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#475987
secondary
#AC9F7E
accent
#AA61C7
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #475987

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

Preview Lab → · Contrast checker → · Palette generator →

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