#29257D#29257D

#29257D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.143 H 277.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#29257D
RGBrgb(41, 37, 125)
HSLhsl(243, 54%, 32%)
HSVhsv(243, 70%, 49%)
CMYKcmyk(67.2%, 70.4%, 0%, 51%)
CIE-LABlab(21.11, 30.77, -49.23)
CIE-LCHlch(21.11, 58.06, 302.01°)
OKLaboklab(33.29% 0.0181 -0.142)
OKLCHoklch(33.29% 0.143 277.3)
XYZxyz(5.2765, 3.2748, 19.7521)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29257D #797D25
analogous
#254D7D #29257D #55257D
triadic
#29257D #7D2925 #257D29
tetradic
#29257D #7D254D #797D25 #257D55
square
#29257D #7D254D #797D25 #257D55
split-complementary
#29257D #7D5525 #4D7D25
monochromatic
#0A091F #1A174E #29257D #3833AC #5651CB

Accessibility & contrast

On white

12.69
#29257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#29257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29257D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29257D#FFFFFF#000000##FFFFFF
##29257D1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #29257d;
/* rgb */ color: rgb(41, 37, 125);
/* oklch */ color: oklch(33.3% 0.143 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e60a4',
    500: '#29257d',
    950: '#000000',
  },
}
SCSS
$custom: #29257d;
$custom-light: #6e60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29257d",
  "rgb": {
    "r": 41,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 242.727,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33287,
    "c": 0.1432,
    "h": 277.3
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#29257D
secondary
#ABAF4F
accent
#DE4AD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29257D

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

Preview Lab → · Contrast checker → · Palette generator →

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