#475799#475799

#475799 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.6% C 0.108 H 271.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#475799
RGBrgb(71, 87, 153)
HSLhsl(228, 37%, 44%)
HSVhsv(228, 54%, 60%)
CMYKcmyk(53.6%, 43.1%, 0%, 40%)
CIE-LABlab(38.65, 13.56, -38.10)
CIE-LCHlch(38.65, 40.44, 289.60°)
OKLaboklab(47.61% 0.0028 -0.1081)
OKLCHoklch(47.61% 0.108 271.5)
XYZxyz(11.7546, 10.4551, 31.5294)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475799 #998947
analogous
#478099 #475799 #604799
triadic
#475799 #994757 #579947
tetradic
#475799 #994780 #998947 #479960
square
#475799 #994780 #998947 #479960
split-complementary
#475799 #996047 #809947
monochromatic
#202745 #343F6F #475799 #6576B8 #8F9BCB

Accessibility & contrast

On white

6.79
#475799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#475799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #475799
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475799#FFFFFF#000000##FFFFFF
##4757991.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9C
Deuteranopia (green-blind)
#335898
Tritanopia (blue-blind)
#216570
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #475799;
/* rgb */ color: rgb(71, 87, 153);
/* oklch */ color: oklch(47.6% 0.108 271.5);
Tailwind
colors: {
  custom: {
    50: '#8086b7',
    500: '#475799',
    950: '#000000',
  },
}
SCSS
$custom: #475799;
$custom-light: #8086b7;
$custom-dark: #000000;
JSON
{
  "hex": "#475799",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 153
  },
  "hsl": {
    "h": 228.293,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.10815,
    "h": 271.5
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#475799
secondary
#B7AD85
accent
#B65BCD
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #475799

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

Preview Lab → · Contrast checker → · Palette generator →

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