#29267C#29267C

#29267C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.141 H 277.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#29267C
RGBrgb(41, 38, 124)
HSLhsl(242, 53%, 32%)
HSVhsv(242, 69%, 49%)
CMYKcmyk(66.9%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.25, 29.78, -48.36)
CIE-LCHlch(21.25, 56.79, 301.62°)
OKLaboklab(33.36% 0.0174 -0.1395)
OKLCHoklch(33.36% 0.141 277.1)
XYZxyz(5.2445, 3.3124, 19.4279)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29267C #797C26
analogous
#264E7C #29267C #54267C
triadic
#29267C #7C2926 #267C29
tetradic
#29267C #7C264E #797C26 #267C54
square
#29267C #7C264E #797C26 #267C54
split-complementary
#29267C #7C5426 #4E7C26
monochromatic
#0A091E #1A184D #29267C #3834AB #5652CA

Accessibility & contrast

On white

12.63
#29267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#29267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29267C
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29267C#FFFFFF#000000##FFFFFF
##29267C1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #29267c;
/* rgb */ color: rgb(41, 38, 124);
/* oklch */ color: oklch(33.4% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#6e61a3',
    500: '#29267c',
    950: '#000000',
  },
}
SCSS
$custom: #29267c;
$custom-light: #6e61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#29267c",
  "rgb": {
    "r": 41,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 242.093,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3336,
    "c": 0.14059,
    "h": 277.1
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#29267C
secondary
#ABAE50
accent
#DC4BD7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #29267C

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

Preview Lab → · Contrast checker → · Palette generator →

#29267C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva