#34239A#34239A

#34239A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.180 H 279.3°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#34239A
RGBrgb(52, 35, 154)
HSLhsl(249, 63%, 37%)
HSVhsv(249, 77%, 60%)
CMYKcmyk(66.2%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.53, 43.04, -61.66)
CIE-LCHlch(24.53, 75.20, 304.91°)
OKLaboklab(36.83% 0.029 -0.178)
OKLCHoklch(36.83% 0.18 279.3)
XYZxyz(7.8481, 4.2646, 30.9752)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239A #899A23
analogous
#234E9A #34239A #6F239A
triadic
#34239A #9A3423 #239A34
tetradic
#34239A #9A234E #899A23 #239A6F
square
#34239A #9A234E #899A23 #239A6F
split-complementary
#34239A #9A6F23 #4E9A23
monochromatic
#120C36 #231868 #34239A #452ECC #6F5DDA

Accessibility & contrast

On white

11.33
#34239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34239A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239A#FFFFFF#000000##FFFFFF
##34239A1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34239a;
/* rgb */ color: rgb(52, 35, 154);
/* oklch */ color: oklch(36.8% 0.180 279.3);
Tailwind
colors: {
  custom: {
    50: '#7a61b9',
    500: '#34239a',
    950: '#000000',
  },
}
SCSS
$custom: #34239a;
$custom-light: #7a61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34239a",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 248.571,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36832,
    "c": 0.18039,
    "h": 279.3
  },
  "luminance": 0.04265
}

Semantic roles & 50–950 ramp

primary
#34239A
secondary
#B0BF5A
accent
#E642CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #34239A

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

Preview Lab → · Contrast checker → · Palette generator →

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