#29318A#29318A

#29318A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.146 H 272.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#29318A
RGBrgb(41, 49, 138)
HSLhsl(235, 54%, 35%)
HSVhsv(235, 70%, 54%)
CMYKcmyk(70.3%, 64.5%, 0%, 45.9%)
CIE-LABlab(25.27, 27.62, -50.60)
CIE-LCHlch(25.27, 57.65, 298.63°)
OKLaboklab(36.68% 0.0073 -0.146)
OKLCHoklch(36.68% 0.146 272.9)
XYZxyz(6.5987, 4.5024, 24.5611)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29318A #8A8229
analogous
#29618A #29318A #52298A
triadic
#29318A #8A2931 #318A29
tetradic
#29318A #8A2961 #8A8229 #298A52
square
#29318A #8A2961 #8A8229 #298A52
split-complementary
#29318A #8A5229 #618A29
monochromatic
#0D0F2C #1B205B #29318A #3742B9 #5E68CF

Accessibility & contrast

On white

11.05
#29318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#29318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29318A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29318A#FFFFFF#000000##FFFFFF
##29318A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #29318a;
/* rgb */ color: rgb(41, 49, 138);
/* oklch */ color: oklch(36.7% 0.146 272.9);
Tailwind
colors: {
  custom: {
    50: '#7069ad',
    500: '#29318a',
    950: '#000000',
  },
}
SCSS
$custom: #29318a;
$custom-light: #7069ad;
$custom-dark: #000000;
JSON
{
  "hex": "#29318a",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 235.052,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.14618,
    "h": 272.9
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#29318A
secondary
#B5AD5A
accent
#D14ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #29318A

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

Preview Lab → · Contrast checker → · Palette generator →

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