#29287D#29287D

#29287D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.139 H 276.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#29287D
RGBrgb(41, 40, 125)
HSLhsl(241, 52%, 32%)
HSVhsv(241, 68%, 49%)
CMYKcmyk(67.2%, 68%, 0%, 51%)
CIE-LABlab(21.83, 28.83, -48.05)
CIE-LCHlch(21.83, 56.04, 300.96°)
OKLaboklab(33.81% 0.0156 -0.1386)
OKLCHoklch(33.81% 0.139 276.4)
XYZxyz(5.3737, 3.4692, 19.7845)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29287D #7C7D28
analogous
#28517D #29287D #54287D
triadic
#29287D #7D2928 #287D29
tetradic
#29287D #7D2851 #7C7D28 #287D54
square
#29287D #7D2851 #7C7D28 #287D54
split-complementary
#29287D #7D5428 #517D28
monochromatic
#0B0A20 #1A194F #29287D #3837AB #5856C9

Accessibility & contrast

On white

12.40
#29287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#29287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29287D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29287D#FFFFFF#000000##FFFFFF
##29287D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29287d;
/* rgb */ color: rgb(41, 40, 125);
/* oklch */ color: oklch(33.8% 0.139 276.4);
Tailwind
colors: {
  custom: {
    50: '#6e62a3',
    500: '#29287d',
    950: '#000000',
  },
}
SCSS
$custom: #29287d;
$custom-light: #6e62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29287d",
  "rgb": {
    "r": 41,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 240.706,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33809,
    "c": 0.13947,
    "h": 276.4
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#29287D
secondary
#ADAE53
accent
#DB4DD9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29287D

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

Preview Lab → · Contrast checker → · Palette generator →

#29287D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva