#29268B#29268B

#29268B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.161 H 275.4°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#29268B
RGBrgb(41, 38, 139)
HSLhsl(242, 57%, 35%)
HSVhsv(242, 73%, 55%)
CMYKcmyk(70.5%, 72.7%, 0%, 45.5%)
CIE-LABlab(22.73, 35.06, -55.38)
CIE-LCHlch(22.73, 65.55, 302.34°)
OKLaboklab(34.87% 0.0152 -0.16)
OKLCHoklch(34.87% 0.161 275.4)
XYZxyz(6.2662, 3.7211, 24.8091)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29268B #888B26
analogous
#26568B #29268B #5C268B
triadic
#29268B #8B2926 #268B29
tetradic
#29268B #8B2656 #888B26 #268B5C
square
#29268B #8B2656 #888B26 #268B5C
split-complementary
#29268B #8B5C26 #568B26
monochromatic
#0D0C2B #1B195B #29268B #3733BB #5D5AD2

Accessibility & contrast

On white

12.04
#29268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#29268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29268B
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29268B#FFFFFF#000000##FFFFFF
##29268B1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #29268b;
/* rgb */ color: rgb(41, 38, 139);
/* oklch */ color: oklch(34.9% 0.161 275.4);
Tailwind
colors: {
  custom: {
    50: '#7261ae',
    500: '#29268b',
    950: '#000000',
  },
}
SCSS
$custom: #29268b;
$custom-light: #7261ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29268b",
  "rgb": {
    "r": 41,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 241.782,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3487,
    "c": 0.16077,
    "h": 275.4
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#29268B
secondary
#B4B756
accent
#E047DC
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #29268B

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

Preview Lab → · Contrast checker → · Palette generator →

#29268B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva