#29518F#29518F

#29518F is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.112 H 258.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#29518F
RGBrgb(41, 81, 143)
HSLhsl(216, 55%, 36%)
HSVhsv(216, 71%, 56%)
CMYKcmyk(71.3%, 43.4%, 0%, 43.9%)
CIE-LABlab(34.68, 7.87, -38.47)
CIE-LCHlch(34.68, 39.27, 281.56°)
OKLaboklab(43.92% -0.0215 -0.1099)
OKLCHoklch(43.92% 0.112 258.9)
XYZxyz(8.8130, 8.3385, 27.1263)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29518F #8F6729
analogous
#29848F #29518F #34298F
triadic
#29518F #8F2951 #518F29
tetradic
#29518F #8F2984 #8F6729 #298F34
square
#29518F #8F2984 #8F6729 #298F34
split-complementary
#29518F #8F3429 #848F29
monochromatic
#0E1B30 #1B365F #29518F #376CBF #618DD2

Accessibility & contrast

On white

7.87
#29518F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#29518F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29518F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29518F#FFFFFF#000000##FFFFFF
##29518F1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335791
Deuteranopia (green-blind)
#224D8E
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #29518f;
/* rgb */ color: rgb(41, 81, 143);
/* oklch */ color: oklch(43.9% 0.112 258.9);
Tailwind
colors: {
  custom: {
    50: '#7081b0',
    500: '#29518f',
    950: '#000000',
  },
}
SCSS
$custom: #29518f;
$custom-light: #7081b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29518f",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 143
  },
  "hsl": {
    "h": 216.471,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.11195,
    "h": 258.9
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#29518F
secondary
#B7945C
accent
#A449DF
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #29518F

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

Preview Lab → · Contrast checker → · Palette generator →

#29518F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva