#34229C#34229C

#34229C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.184 H 279.1°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#34229C
RGBrgb(52, 34, 156)
HSLhsl(249, 64%, 37%)
HSVhsv(249, 78%, 61%)
CMYKcmyk(66.7%, 78.2%, 0%, 38.8%)
CIE-LABlab(24.56, 44.19, -62.84)
CIE-LCHlch(24.56, 76.82, 305.12°)
OKLaboklab(36.92% 0.0291 -0.1815)
OKLCHoklch(36.92% 0.184 279.1)
XYZxyz(7.9870, 4.2738, 31.8501)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34229C #8A9C22
analogous
#224D9C #34229C #71229C
triadic
#34229C #9C3422 #229C34
tetradic
#34229C #9C224D #8A9C22 #229C71
square
#34229C #9C224D #8A9C22 #229C71
split-complementary
#34229C #9C7122 #4D9C22
monochromatic
#130C38 #23176A #34229C #452DCE #6F5DDC

Accessibility & contrast

On white

11.32
#34229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34229C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34229C#FFFFFF#000000##FFFFFF
##34229C1.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34229c;
/* rgb */ color: rgb(52, 34, 156);
/* oklch */ color: oklch(36.9% 0.184 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a60ba',
    500: '#34229c',
    950: '#000000',
  },
}
SCSS
$custom: #34229c;
$custom-light: #7a60ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34229c",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 248.852,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36916,
    "c": 0.18378,
    "h": 279.1
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#34229C
secondary
#B1C05A
accent
#E741CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34229C

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

Preview Lab → · Contrast checker → · Palette generator →

#34229C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva