#29227D#29227D

#29227D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.147 H 278.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#29227D
RGBrgb(41, 34, 125)
HSLhsl(245, 57%, 31%)
HSVhsv(245, 73%, 49%)
CMYKcmyk(67.2%, 72.8%, 0%, 51%)
CIE-LABlab(20.42, 32.66, -50.36)
CIE-LCHlch(20.42, 60.02, 302.96°)
OKLaboklab(32.79% 0.0204 -0.1454)
OKLCHoklch(32.79% 0.147 278)
XYZxyz(5.1870, 3.0957, 19.7223)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29227D #767D22
analogous
#22487D #29227D #56227D
triadic
#29227D #7D2922 #227D29
tetradic
#29227D #7D2248 #767D22 #227D56
square
#29227D #7D2248 #767D22 #227D56
split-complementary
#29227D #7D5622 #487D22
monochromatic
#09081D #19154D #29227D #392FAD #554BCE

Accessibility & contrast

On white

12.97
#29227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29227D
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29227D#FFFFFF#000000##FFFFFF
##29227D1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29227d;
/* rgb */ color: rgb(41, 34, 125);
/* oklch */ color: oklch(32.8% 0.147 278.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ea4',
    500: '#29227d',
    950: '#000000',
  },
}
SCSS
$custom: #29227d;
$custom-light: #6f5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#29227d",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 244.615,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.14678,
    "h": 278
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#29227D
secondary
#A8B04B
accent
#E047D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29227D

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

Preview Lab → · Contrast checker → · Palette generator →

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