#29297E#29297E

#29297E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.140 H 276.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#29297E
RGBrgb(41, 41, 126)
HSLhsl(240, 51%, 33%)
HSVhsv(240, 67%, 49%)
CMYKcmyk(67.5%, 67.5%, 0%, 50.6%)
CIE-LABlab(22.17, 28.54, -48.13)
CIE-LCHlch(22.17, 55.95, 300.66°)
OKLaboklab(34.08% 0.0147 -0.1388)
OKLCHoklch(34.08% 0.14 276)
XYZxyz(5.4721, 3.5632, 20.1340)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29297E #7E7E29
analogous
#29537E #29297E #53297E
triadic
#29297E #7E2929 #297E29
tetradic
#29297E #7E2953 #7E7E29 #297E53
square
#29297E #7E2953 #7E7E29 #297E53
split-complementary
#29297E #7E5329 #537E29
monochromatic
#0B0B22 #1A1A50 #29297E #3838AC #5959C9

Accessibility & contrast

On white

12.26
#29297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#29297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29297E
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29297E#FFFFFF#000000##FFFFFF
##29297E1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29297e;
/* rgb */ color: rgb(41, 41, 126);
/* oklch */ color: oklch(34.1% 0.140 276.0);
Tailwind
colors: {
  custom: {
    50: '#6e63a4',
    500: '#29297e',
    950: '#000000',
  },
}
SCSS
$custom: #29297e;
$custom-light: #6e63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29297e",
  "rgb": {
    "r": 41,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 240,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.1396,
    "h": 276
  },
  "luminance": 0.03564
}

Semantic roles & 50–950 ramp

primary
#29297E
secondary
#AEAE55
accent
#DA4DDA
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29297E

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

Preview Lab → · Contrast checker → · Palette generator →

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