#29478B#29478B

#29478B is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.3% C 0.119 H 264.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#29478B
RGBrgb(41, 71, 139)
HSLhsl(222, 54%, 35%)
HSVhsv(222, 71%, 55%)
CMYKcmyk(70.5%, 48.9%, 0%, 45.5%)
CIE-LABlab(31.44, 13.03, -41.21)
CIE-LCHlch(31.44, 43.22, 287.55°)
OKLaboklab(41.35% -0.0124 -0.1181)
OKLCHoklch(41.35% 0.119 264)
XYZxyz(7.8263, 6.8412, 25.3291)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29478B #8B6D29
analogous
#29788B #29478B #3C298B
triadic
#29478B #8B2947 #478B29
tetradic
#29478B #8B2978 #8B6D29 #298B3C
square
#29478B #8B2978 #8B6D29 #298B3C
split-complementary
#29478B #8B3C29 #788B29
monochromatic
#0D172C #1B2F5C #29478B #375FBA #5F81D0

Accessibility & contrast

On white

8.87
#29478B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#29478B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29478B
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29478B#FFFFFF#000000##FFFFFF
##29478B1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#0C468A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #29478b;
/* rgb */ color: rgb(41, 71, 139);
/* oklch */ color: oklch(41.3% 0.119 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f79ad',
    500: '#29478b',
    950: '#000000',
  },
}
SCSS
$custom: #29478b;
$custom-light: #6f79ad;
$custom-dark: #000000;
JSON
{
  "hex": "#29478b",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 221.633,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41347,
    "c": 0.11874,
    "h": 264
  },
  "luminance": 0.06842
}

Semantic roles & 50–950 ramp

primary
#29478B
secondary
#B59A5B
accent
#B14ADE
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #29478B

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

Preview Lab → · Contrast checker → · Palette generator →

#29478B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva