#29238D#29238D

#29238D is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.167 H 275.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#29238D
RGBrgb(41, 35, 141)
HSLhsl(243, 60%, 35%)
HSVhsv(243, 75%, 55%)
CMYKcmyk(70.9%, 75.2%, 0%, 44.7%)
CIE-LABlab(22.29, 37.55, -57.35)
CIE-LCHlch(22.29, 68.55, 303.21°)
OKLaboklab(34.62% 0.0167 -0.1658)
OKLCHoklch(34.62% 0.167 275.7)
XYZxyz(6.3216, 3.5960, 25.5551)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29238D #878D23
analogous
#23528D #29238D #5E238D
triadic
#29238D #8D2923 #238D29
tetradic
#29238D #8D2352 #878D23 #238D5E
square
#29238D #8D2352 #878D23 #238D5E
split-complementary
#29238D #8D5E23 #528D23
monochromatic
#0C0B2B #1B175C #29238D #372FBE #5D55D5

Accessibility & contrast

On white

12.21
#29238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#29238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29238D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29238D#FFFFFF#000000##FFFFFF
##29238D1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29238d;
/* rgb */ color: rgb(41, 35, 141);
/* oklch */ color: oklch(34.6% 0.167 275.7);
Tailwind
colors: {
  custom: {
    50: '#725faf',
    500: '#29238d',
    950: '#000000',
  },
}
SCSS
$custom: #29238d;
$custom-light: #725faf;
$custom-dark: #000000;
JSON
{
  "hex": "#29238d",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 243.396,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.16661,
    "h": 275.7
  },
  "luminance": 0.03597
}

Semantic roles & 50–950 ramp

primary
#29238D
secondary
#B3B953
accent
#E344DA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #29238D

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

Preview Lab → · Contrast checker → · Palette generator →

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