#29318B#29318B

#29318B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.148 H 272.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#29318B
RGBrgb(41, 49, 139)
HSLhsl(235, 54%, 35%)
HSVhsv(235, 71%, 55%)
CMYKcmyk(70.5%, 64.7%, 0%, 45.5%)
CIE-LABlab(25.36, 27.99, -51.07)
CIE-LCHlch(25.36, 58.24, 298.73°)
OKLaboklab(36.78% 0.0072 -0.1474)
OKLCHoklch(36.78% 0.148 272.8)
XYZxyz(6.6714, 4.5315, 24.9442)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29318B #8B8329
analogous
#29628B #29318B #52298B
triadic
#29318B #8B2931 #318B29
tetradic
#29318B #8B2962 #8B8329 #298B52
square
#29318B #8B2962 #8B8329 #298B52
split-complementary
#29318B #8B5229 #628B29
monochromatic
#0D102C #1B205C #29318B #3742BA #5F68D0

Accessibility & contrast

On white

11.02
#29318B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#29318B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29318B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29318B#FFFFFF#000000##FFFFFF
##29318B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #29318b;
/* rgb */ color: rgb(41, 49, 139);
/* oklch */ color: oklch(36.8% 0.148 272.8);
Tailwind
colors: {
  custom: {
    50: '#7169ae',
    500: '#29318b',
    950: '#000000',
  },
}
SCSS
$custom: #29318b;
$custom-light: #7169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29318b",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 235.102,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36776,
    "c": 0.14758,
    "h": 272.8
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#29318B
secondary
#B5AE5B
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #29318B

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

Preview Lab → · Contrast checker → · Palette generator →

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