#29227A#29227A

#29227A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.143 H 278.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#29227A
RGBrgb(41, 34, 122)
HSLhsl(245, 56%, 31%)
HSVhsv(245, 72%, 48%)
CMYKcmyk(66.4%, 72.1%, 0%, 52.2%)
CIE-LABlab(20.12, 31.62, -48.94)
CIE-LCHlch(20.12, 58.27, 302.86°)
OKLaboklab(32.49% 0.0209 -0.1412)
OKLCHoklch(32.49% 0.143 278.4)
XYZxyz(4.9982, 3.0202, 18.7281)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29227A #737A22
analogous
#22477A #29227A #55227A
triadic
#29227A #7A2922 #227A29
tetradic
#29227A #7A2247 #737A22 #227A55
square
#29227A #7A2247 #737A22 #227A55
split-complementary
#29227A #7A5522 #477A22
monochromatic
#09071A #19154A #29227A #392FAA #544ACD

Accessibility & contrast

On white

13.09
#29227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#29227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29227A
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29227A#FFFFFF#000000##FFFFFF
##29227A1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29227a;
/* rgb */ color: rgb(41, 34, 122);
/* oklch */ color: oklch(32.5% 0.143 278.4);
Tailwind
colors: {
  custom: {
    50: '#6e5ea1',
    500: '#29227a',
    950: '#000000',
  },
}
SCSS
$custom: #29227a;
$custom-light: #6e5ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#29227a",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 244.773,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.14275,
    "h": 278.4
  },
  "luminance": 0.03021
}

Semantic roles & 50–950 ramp

primary
#29227A
secondary
#A5AD4B
accent
#E048D4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29227A

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

Preview Lab → · Contrast checker → · Palette generator →

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