#29197F#29197F

#29197F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.159 H 279.4°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#29197F
RGBrgb(41, 25, 127)
HSLhsl(249, 67%, 30%)
HSVhsv(249, 80%, 50%)
CMYKcmyk(67.7%, 80.3%, 0%, 50.2%)
CIE-LABlab(18.79, 38.51, -54.32)
CIE-LCHlch(18.79, 66.58, 305.34°)
OKLaboklab(31.7% 0.0259 -0.1568)
OKLCHoklch(31.7% 0.159 279.4)
XYZxyz(5.0916, 2.6986, 20.3271)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29197F #6F7F19
analogous
#193C7F #29197F #5C197F
triadic
#29197F #7F2919 #197F29
tetradic
#29197F #7F193C #6F7F19 #197F5C
square
#29197F #7F193C #6F7F19 #197F5C
split-complementary
#29197F #7F5C19 #3C7F19
monochromatic
#08051A #180F4C #29197F #3A23B2 #533AD8

Accessibility & contrast

On white

13.64
#29197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#29197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29197F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29197F#FFFFFF#000000##FFFFFF
##29197F1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #29197f;
/* rgb */ color: rgb(41, 25, 127);
/* oklch */ color: oklch(31.7% 0.159 279.4);
Tailwind
colors: {
  custom: {
    50: '#7059a5',
    500: '#29197f',
    950: '#000000',
  },
}
SCSS
$custom: #29197f;
$custom-light: #7059a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29197f",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 249.412,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31703,
    "c": 0.15897,
    "h": 279.4
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#29197F
secondary
#A1B341
accent
#EA3ECF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #29197F

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

Preview Lab → · Contrast checker → · Palette generator →

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