#34409A#34409A

#34409A is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.146 H 272.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#34409A
RGBrgb(52, 64, 154)
HSLhsl(233, 50%, 40%)
HSVhsv(233, 66%, 60%)
CMYKcmyk(66.2%, 58.4%, 0%, 39.6%)
CIE-LABlab(31.18, 25.20, -50.77)
CIE-LCHlch(31.18, 56.68, 296.40°)
OKLaboklab(41.66% 0.0067 -0.1461)
OKLCHoklch(41.66% 0.146 272.6)
XYZxyz(9.0804, 6.7291, 31.3859)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409A #9A8E34
analogous
#34739A #34409A #5B349A
triadic
#34409A #9A3440 #409A34
tetradic
#34409A #9A3473 #9A8E34 #349A5B
square
#34409A #9A3473 #9A8E34 #349A5B
split-complementary
#34409A #9A5B34 #739A34
monochromatic
#151A3E #252D6C #34409A #4958C2 #7782D1

Accessibility & contrast

On white

8.95
#34409A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#34409A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34409A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409A#FFFFFF#000000##FFFFFF
##34409A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#004598
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #34409a;
/* rgb */ color: rgb(52, 64, 154);
/* oklch */ color: oklch(41.7% 0.146 272.6);
Tailwind
colors: {
  custom: {
    50: '#7874b8',
    500: '#34409a',
    950: '#000000',
  },
}
SCSS
$custom: #34409a;
$custom-light: #7874b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34409a",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 154
  },
  "hsl": {
    "h": 232.941,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.14622,
    "h": 272.6
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#34409A
secondary
#BAB170
accent
#C94FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #34409A

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

Preview Lab → · Contrast checker → · Palette generator →

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