#29518A#29518A

#29518A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.105 H 257.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#29518A
RGBrgb(41, 81, 138)
HSLhsl(215, 54%, 35%)
HSVhsv(215, 70%, 54%)
CMYKcmyk(70.3%, 41.3%, 0%, 45.9%)
CIE-LABlab(34.38, 5.95, -35.90)
CIE-LCHlch(34.38, 36.39, 279.42°)
OKLaboklab(43.59% -0.0226 -0.1023)
OKLCHoklch(43.59% 0.105 257.5)
XYZxyz(8.4427, 8.1904, 25.1758)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29518A #8A6229
analogous
#29818A #29518A #32298A
triadic
#29518A #8A2951 #518A29
tetradic
#29518A #8A2981 #8A6229 #298A32
square
#29518A #8A2981 #8A6229 #298A32
split-complementary
#29518A #8A3229 #818A29
monochromatic
#0D1A2C #1B355B #29518A #376DB9 #5E8DCF

Accessibility & contrast

On white

7.96
#29518A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#29518A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29518A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29518A#FFFFFF#000000##FFFFFF
##29518A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37568C
Deuteranopia (green-blind)
#284D89
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #29518a;
/* rgb */ color: rgb(41, 81, 138);
/* oklch */ color: oklch(43.6% 0.105 257.5);
Tailwind
colors: {
  custom: {
    50: '#6f81ac',
    500: '#29518a',
    950: '#000000',
  },
}
SCSS
$custom: #29518a;
$custom-light: #6f81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#29518a",
  "rgb": {
    "r": 41,
    "g": 81,
    "b": 138
  },
  "hsl": {
    "h": 215.258,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43588,
    "c": 0.1048,
    "h": 257.5
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#29518A
secondary
#B58F5A
accent
#A14ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #29518A

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

Preview Lab → · Contrast checker → · Palette generator →

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