#29227E#29227E

#29227E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.148 H 277.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#29227E
RGBrgb(41, 34, 126)
HSLhsl(245, 58%, 31%)
HSVhsv(245, 73%, 49%)
CMYKcmyk(67.5%, 73%, 0%, 50.6%)
CIE-LABlab(20.52, 33.00, -50.83)
CIE-LCHlch(20.52, 60.61, 302.99°)
OKLaboklab(32.89% 0.0202 -0.1467)
OKLCHoklch(32.89% 0.148 277.8)
XYZxyz(5.2512, 3.1214, 20.0604)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29227E #777E22
analogous
#22497E #29227E #57227E
triadic
#29227E #7E2922 #227E29
tetradic
#29227E #7E2249 #777E22 #227E57
square
#29227E #7E2249 #777E22 #227E57
split-complementary
#29227E #7E5722 #497E22
monochromatic
#0A081E #19154E #29227E #392FAE #564CCF

Accessibility & contrast

On white

12.93
#29227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#29227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29227E
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29227E#FFFFFF#000000##FFFFFF
##29227E1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29227e;
/* rgb */ color: rgb(41, 34, 126);
/* oklch */ color: oklch(32.9% 0.148 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f5ea4',
    500: '#29227e',
    950: '#000000',
  },
}
SCSS
$custom: #29227e;
$custom-light: #6f5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#29227e",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 244.565,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32894,
    "c": 0.14812,
    "h": 277.8
  },
  "luminance": 0.03122
}

Semantic roles & 50–950 ramp

primary
#29227E
secondary
#A9B14B
accent
#E147D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29227E

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

Preview Lab → · Contrast checker → · Palette generator →

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