#29318E#29318E

#29318E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.152 H 272.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#29318E
RGBrgb(41, 49, 142)
HSLhsl(235, 55%, 36%)
HSVhsv(235, 71%, 56%)
CMYKcmyk(71.1%, 65.5%, 0%, 44.3%)
CIE-LABlab(25.62, 29.10, -52.49)
CIE-LCHlch(25.62, 60.02, 299.00°)
OKLaboklab(37.06% 0.007 -0.1516)
OKLCHoklch(37.06% 0.152 272.7)
XYZxyz(6.8936, 4.6204, 26.1145)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29318E #8E8629
analogous
#29638E #29318E #54298E
triadic
#29318E #8E2931 #318E29
tetradic
#29318E #8E2963 #8E8629 #298E54
square
#29318E #8E2963 #8E8629 #298E54
split-complementary
#29318E #8E5429 #638E29
monochromatic
#0E102F #1B215F #29318E #3741BD #6069D1

Accessibility & contrast

On white

10.91
#29318E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#29318E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29318E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29318E#FFFFFF#000000##FFFFFF
##29318E1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #29318e;
/* rgb */ color: rgb(41, 49, 142);
/* oklch */ color: oklch(37.1% 0.152 272.7);
Tailwind
colors: {
  custom: {
    50: '#7169b0',
    500: '#29318e',
    950: '#000000',
  },
}
SCSS
$custom: #29318e;
$custom-light: #7169b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29318e",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 235.248,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37057,
    "c": 0.15173,
    "h": 272.7
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#29318E
secondary
#B7B05C
accent
#D349DF
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #29318E

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

Preview Lab → · Contrast checker → · Palette generator →

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