#29287F#29287F

#29287F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.142 H 276.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#29287F
RGBrgb(41, 40, 127)
HSLhsl(241, 52%, 33%)
HSVhsv(241, 69%, 50%)
CMYKcmyk(67.7%, 68.5%, 0%, 50.2%)
CIE-LABlab(22.02, 29.55, -49.01)
CIE-LCHlch(22.02, 57.23, 301.09°)
OKLaboklab(34% 0.0154 -0.1414)
OKLCHoklch(34% 0.142 276.2)
XYZxyz(5.5028, 3.5208, 20.4642)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29287F #7E7F28
analogous
#28527F #29287F #55287F
triadic
#29287F #7F2928 #287F29
tetradic
#29287F #7F2852 #7E7F28 #287F55
square
#29287F #7F2852 #7E7F28 #287F55
split-complementary
#29287F #7F5528 #527F28
monochromatic
#0B0B22 #1A1950 #29287F #3837AE #5957CA

Accessibility & contrast

On white

12.32
#29287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29287F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29287F#FFFFFF#000000##FFFFFF
##29287F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29287f;
/* rgb */ color: rgb(41, 40, 127);
/* oklch */ color: oklch(34.0% 0.142 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f62a5',
    500: '#29287f',
    950: '#000000',
  },
}
SCSS
$custom: #29287f;
$custom-light: #6f62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29287f",
  "rgb": {
    "r": 41,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 240.69,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34002,
    "c": 0.14224,
    "h": 276.2
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#29287F
secondary
#AEAF54
accent
#DC4CDA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29287F

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

Preview Lab → · Contrast checker → · Palette generator →

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