#29287C#29287C

#29287C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.138 H 276.5°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#29287C
RGBrgb(41, 40, 124)
HSLhsl(241, 51%, 32%)
HSVhsv(241, 68%, 49%)
CMYKcmyk(66.9%, 67.7%, 0%, 51.4%)
CIE-LABlab(21.74, 28.47, -47.57)
CIE-LCHlch(21.74, 55.44, 300.90°)
OKLaboklab(33.71% 0.0157 -0.1372)
OKLCHoklch(33.71% 0.138 276.5)
XYZxyz(5.3101, 3.4438, 19.4498)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29287C #7B7C28
analogous
#28517C #29287C #53287C
triadic
#29287C #7C2928 #287C29
tetradic
#29287C #7C2851 #7B7C28 #287C53
square
#29287C #7C2851 #7B7C28 #287C53
split-complementary
#29287C #7C5328 #517C28
monochromatic
#0A0A1F #1A194E #29287C #3837AA #5756C8

Accessibility & contrast

On white

12.43
#29287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29287C
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29287C#FFFFFF#000000##FFFFFF
##29287C1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29287c;
/* rgb */ color: rgb(41, 40, 124);
/* oklch */ color: oklch(33.7% 0.138 276.5);
Tailwind
colors: {
  custom: {
    50: '#6e62a3',
    500: '#29287c',
    950: '#000000',
  },
}
SCSS
$custom: #29287c;
$custom-light: #6e62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29287c",
  "rgb": {
    "r": 41,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 240.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33713,
    "c": 0.13807,
    "h": 276.5
  },
  "luminance": 0.03444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #29287C

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

Preview Lab → · Contrast checker → · Palette generator →

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