#475787#475787

#475787 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.081 H 269.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#475787
RGBrgb(71, 87, 135)
HSLhsl(225, 31%, 40%)
HSVhsv(225, 47%, 53%)
CMYKcmyk(47.4%, 35.6%, 0%, 47.1%)
CIE-LABlab(37.67, 7.64, -28.75)
CIE-LCHlch(37.67, 29.75, 284.89°)
OKLaboklab(46.54% -0.0013 -0.0808)
OKLCHoklch(46.54% 0.081 269.1)
XYZxyz(10.3785, 9.9047, 24.2819)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475787 #877747
analogous
#477787 #475787 #574787
triadic
#475787 #874757 #578747
tetradic
#475787 #874777 #877747 #478757
square
#475787 #874777 #877747 #478757
split-complementary
#475787 #875747 #778747
monochromatic
#1D2337 #323D5F #475787 #6073AB #8896C0

Accessibility & contrast

On white

7.04
#475787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#475787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475787
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475787#FFFFFF#000000##FFFFFF
##4757871.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C89
Deuteranopia (green-blind)
#3F5686
Tritanopia (blue-blind)
#2F6168
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #475787;
/* rgb */ color: rgb(71, 87, 135);
/* oklch */ color: oklch(46.5% 0.081 269.1);
Tailwind
colors: {
  custom: {
    50: '#7e86aa',
    500: '#475787',
    950: '#000000',
  },
}
SCSS
$custom: #475787;
$custom-light: #7e86aa;
$custom-dark: #000000;
JSON
{
  "hex": "#475787",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 225,
    "s": 31.068,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46535,
    "c": 0.08084,
    "h": 269.1
  },
  "luminance": 0.09905
}

Semantic roles & 50–950 ramp

primary
#475787
secondary
#ACA07E
accent
#AE61C7
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#0A0B10
muted
#7C7C7F

Preview Lab

Preview with #475787

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

Preview Lab → · Contrast checker → · Palette generator →

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