#29297F#29297F

#29297F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.141 H 275.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#29297F
RGBrgb(41, 41, 127)
HSLhsl(240, 51%, 33%)
HSVhsv(240, 68%, 50%)
CMYKcmyk(67.7%, 67.7%, 0%, 50.2%)
CIE-LABlab(22.26, 28.90, -48.61)
CIE-LCHlch(22.26, 56.55, 300.73°)
OKLaboklab(34.18% 0.0146 -0.1402)
OKLCHoklch(34.18% 0.141 275.9)
XYZxyz(5.5369, 3.5891, 20.4755)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29297F #7F7F29
analogous
#29547F #29297F #54297F
triadic
#29297F #7F2929 #297F29
tetradic
#29297F #7F2954 #7F7F29 #297F54
square
#29297F #7F2954 #7F7F29 #297F54
split-complementary
#29297F #7F5429 #547F29
monochromatic
#0B0B22 #1A1A51 #29297F #3838AD #5959C9

Accessibility & contrast

On white

12.22
#29297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#29297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29297F
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29297F#FFFFFF#000000##FFFFFF
##29297F1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00317D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29297f;
/* rgb */ color: rgb(41, 41, 127);
/* oklch */ color: oklch(34.2% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e63a5',
    500: '#29297f',
    950: '#000000',
  },
}
SCSS
$custom: #29297f;
$custom-light: #6e63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29297f",
  "rgb": {
    "r": 41,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 240,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.14099,
    "h": 275.9
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#29297F
secondary
#AFAF55
accent
#DB4DDB
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29297F

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

Preview Lab → · Contrast checker → · Palette generator →

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