#29338B#29338B

#29338B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.145 H 272.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#29338B
RGBrgb(41, 51, 139)
HSLhsl(234, 54%, 35%)
HSVhsv(234, 71%, 55%)
CMYKcmyk(70.5%, 63.3%, 0%, 45.5%)
CIE-LABlab(25.87, 26.66, -50.23)
CIE-LCHlch(25.87, 56.87, 297.95°)
OKLaboklab(37.16% 0.0056 -0.1449)
OKLCHoklch(37.16% 0.145 272.2)
XYZxyz(6.7569, 4.7025, 24.9727)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29338B #8B8129
analogous
#29648B #29338B #50298B
triadic
#29338B #8B2933 #338B29
tetradic
#29338B #8B2964 #8B8129 #298B50
square
#29338B #8B2964 #8B8129 #298B50
split-complementary
#29338B #8B5029 #648B29
monochromatic
#0D102C #1B225C #29338B #3744BA #5F6AD0

Accessibility & contrast

On white

10.82
#29338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#29338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29338B
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29338B#FFFFFF#000000##FFFFFF
##29338B1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #29338b;
/* rgb */ color: rgb(41, 51, 139);
/* oklch */ color: oklch(37.2% 0.145 272.2);
Tailwind
colors: {
  custom: {
    50: '#706aae',
    500: '#29338b',
    950: '#000000',
  },
}
SCSS
$custom: #29338b;
$custom-light: #706aae;
$custom-dark: #000000;
JSON
{
  "hex": "#29338b",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 233.878,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37155,
    "c": 0.14503,
    "h": 272.2
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#29338B
secondary
#B5AC5B
accent
#CF4ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #29338B

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

Preview Lab → · Contrast checker → · Palette generator →

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