#475181#475181

#475181 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.080 H 273.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#475181
RGBrgb(71, 81, 129)
HSLhsl(230, 29%, 39%)
HSVhsv(230, 45%, 51%)
CMYKcmyk(45%, 37.2%, 0%, 49.4%)
CIE-LABlab(35.61, 9.59, -28.31)
CIE-LCHlch(35.61, 29.89, 288.71°)
OKLaboklab(44.85% 0.0053 -0.0796)
OKLCHoklch(44.85% 0.08 273.8)
XYZxyz(9.5022, 8.8089, 21.9642)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#475181 #817747
analogous
#476E81 #475181 #5A4781
triadic
#475181 #814751 #518147
tetradic
#475181 #81476E #817747 #47815A
square
#475181 #81476E #817747 #47815A
split-complementary
#475181 #815A47 #6E8147
monochromatic
#1C1F32 #31385A #475181 #5F6BA7 #868FBC

Accessibility & contrast

On white

7.60
#475181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#475181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #475181
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##475181#FFFFFF#000000##FFFFFF
##4751811.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405683
Deuteranopia (green-blind)
#3B5280
Tritanopia (blue-blind)
#335B63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #475181;
/* rgb */ color: rgb(71, 81, 129);
/* oklch */ color: oklch(44.8% 0.080 273.8);
Tailwind
colors: {
  custom: {
    50: '#7d81a6',
    500: '#475181',
    950: '#000000',
  },
}
SCSS
$custom: #475181;
$custom-light: #7d81a6;
$custom-dark: #000000;
JSON
{
  "hex": "#475181",
  "rgb": {
    "r": 71,
    "g": 81,
    "b": 129
  },
  "hsl": {
    "h": 229.655,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44845,
    "c": 0.07975,
    "h": 273.8
  },
  "luminance": 0.08809
}

Semantic roles & 50–950 ramp

primary
#475181
secondary
#A8A07C
accent
#B463C5
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A0F
muted
#7C7C7F

Preview Lab

Preview with #475181

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

Preview Lab → · Contrast checker → · Palette generator →

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