#29238B#29238B

#29238B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.164 H 276.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#29238B
RGBrgb(41, 35, 139)
HSLhsl(243, 60%, 34%)
HSVhsv(243, 75%, 55%)
CMYKcmyk(70.5%, 74.8%, 0%, 45.5%)
CIE-LABlab(22.08, 36.87, -56.45)
CIE-LCHlch(22.08, 67.43, 303.15°)
OKLaboklab(34.41% 0.0171 -0.1632)
OKLCHoklch(34.41% 0.164 276)
XYZxyz(6.1742, 3.5370, 24.7784)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29238B #858B23
analogous
#23518B #29238B #5D238B
triadic
#29238B #8B2923 #238B29
tetradic
#29238B #8B2351 #858B23 #238B5D
square
#29238B #8B2351 #858B23 #238B5D
split-complementary
#29238B #8B5D23 #518B23
monochromatic
#0C0A29 #1B175A #29238B #372FBC #5C54D4

Accessibility & contrast

On white

12.30
#29238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#29238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29238B
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29238B#FFFFFF#000000##FFFFFF
##29238B1.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29238b;
/* rgb */ color: rgb(41, 35, 139);
/* oklch */ color: oklch(34.4% 0.164 276.0);
Tailwind
colors: {
  custom: {
    50: '#725fae',
    500: '#29238b',
    950: '#000000',
  },
}
SCSS
$custom: #29238b;
$custom-light: #725fae;
$custom-dark: #000000;
JSON
{
  "hex": "#29238b",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 243.462,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34406,
    "c": 0.16405,
    "h": 276
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#29238B
secondary
#B2B852
accent
#E345DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #29238B

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

Preview Lab → · Contrast checker → · Palette generator →

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