#29197E#29197E

#29197E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.6% C 0.158 H 279.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#29197E
RGBrgb(41, 25, 126)
HSLhsl(250, 67%, 30%)
HSVhsv(250, 80%, 49%)
CMYKcmyk(67.5%, 80.2%, 0%, 50.6%)
CIE-LABlab(18.68, 38.19, -53.87)
CIE-LCHlch(18.68, 66.03, 305.34°)
OKLaboklab(31.59% 0.0262 -0.1555)
OKLCHoklch(31.59% 0.158 279.6)
XYZxyz(5.0268, 2.6726, 19.9856)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29197E #6E7E19
analogous
#193C7E #29197E #5C197E
triadic
#29197E #7E2919 #197E29
tetradic
#29197E #7E193C #6E7E19 #197E5C
square
#29197E #7E193C #6E7E19 #197E5C
split-complementary
#29197E #7E5C19 #3C7E19
monochromatic
#08051A #180F4B #29197E #3A23B1 #533AD8

Accessibility & contrast

On white

13.68
#29197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#29197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29197E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29197E#FFFFFF#000000##FFFFFF
##29197E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #29197e;
/* rgb */ color: rgb(41, 25, 126);
/* oklch */ color: oklch(31.6% 0.158 279.6);
Tailwind
colors: {
  custom: {
    50: '#7059a4',
    500: '#29197e',
    950: '#000000',
  },
}
SCSS
$custom: #29197e;
$custom-light: #7059a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29197e",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 249.505,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.15771,
    "h": 279.6
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#29197E
secondary
#A0B241
accent
#EA3ECF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #29197E

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

Preview Lab → · Contrast checker → · Palette generator →

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