#29226F#29226F

#29226F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.128 H 280.2°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#29226F
RGBrgb(41, 34, 111)
HSLhsl(245, 53%, 28%)
HSVhsv(245, 69%, 44%)
CMYKcmyk(63.1%, 69.4%, 0%, 56.5%)
CIE-LABlab(19.07, 27.76, -43.60)
CIE-LCHlch(19.07, 51.69, 302.48°)
OKLaboklab(31.4% 0.0226 -0.1256)
OKLCHoklch(31.4% 0.128 280.2)
XYZxyz(4.3548, 2.7629, 15.3396)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29226F #686F22
analogous
#22416F #29226F #4F226F
triadic
#29226F #6F2922 #226F29
tetradic
#29226F #6F2241 #686F22 #226F4F
square
#29226F #6F2241 #686F22 #226F4F
split-complementary
#29226F #6F4F22 #416F22
monochromatic
#090717 #181440 #29226F #3A309E #5145C6

Accessibility & contrast

On white

13.53
#29226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#29226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29226F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29226F#FFFFFF#000000##FFFFFF
##29226F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #29226f;
/* rgb */ color: rgb(41, 34, 111);
/* oklch */ color: oklch(31.4% 0.128 280.2);
Tailwind
colors: {
  custom: {
    50: '#6c5e99',
    500: '#29226f',
    950: '#000000',
  },
}
SCSS
$custom: #29226f;
$custom-light: #6c5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#29226f",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 245.455,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31401,
    "c": 0.12758,
    "h": 280.2
  },
  "luminance": 0.02763
}

Semantic roles & 50–950 ramp

primary
#29226F
secondary
#9AA24A
accent
#DD4BCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #29226F

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

Preview Lab → · Contrast checker → · Palette generator →

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