#29228A#29228A

#29228A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.164 H 276.3°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#29228A
RGBrgb(41, 34, 138)
HSLhsl(244, 60%, 34%)
HSVhsv(244, 75%, 54%)
CMYKcmyk(70.3%, 75.4%, 0%, 45.9%)
CIE-LABlab(21.76, 37.11, -56.35)
CIE-LCHlch(21.76, 67.47, 303.37°)
OKLaboklab(34.15% 0.0179 -0.1628)
OKLCHoklch(34.15% 0.164 276.3)
XYZxyz(6.0724, 3.4499, 24.3857)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29228A #838A22
analogous
#224F8A #29228A #5D228A
triadic
#29228A #8A2922 #228A29
tetradic
#29228A #8A224F #838A22 #228A5D
square
#29228A #8A224F #838A22 #228A5D
split-complementary
#29228A #8A5D22 #4F8A22
monochromatic
#0C0A28 #1A1659 #29228A #382EBB #5B52D4

Accessibility & contrast

On white

12.43
#29228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#29228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29228A
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29228A#FFFFFF#000000##FFFFFF
##29228A1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29228a;
/* rgb */ color: rgb(41, 34, 138);
/* oklch */ color: oklch(34.2% 0.164 276.3);
Tailwind
colors: {
  custom: {
    50: '#725fad',
    500: '#29228a',
    950: '#000000',
  },
}
SCSS
$custom: #29228a;
$custom-light: #725fad;
$custom-dark: #000000;
JSON
{
  "hex": "#29228a",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 244.038,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.16382,
    "h": 276.3
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#29228A
secondary
#B1B850
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #29228A

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

Preview Lab → · Contrast checker → · Palette generator →

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