#34419A#34419A

#34419A is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.145 H 272.3°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#34419A
RGBrgb(52, 65, 154)
HSLhsl(232, 50%, 40%)
HSVhsv(232, 66%, 60%)
CMYKcmyk(66.2%, 57.8%, 0%, 39.6%)
CIE-LABlab(31.45, 24.54, -50.34)
CIE-LCHlch(31.45, 56.00, 295.99°)
OKLaboklab(41.86% 0.0057 -0.1448)
OKLCHoklch(41.86% 0.145 272.3)
XYZxyz(9.1373, 6.8429, 31.4049)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34419A #9A8D34
analogous
#34749A #34419A #5A349A
triadic
#34419A #9A3441 #419A34
tetradic
#34419A #9A3474 #9A8D34 #349A5A
square
#34419A #9A3474 #9A8D34 #349A5A
split-complementary
#34419A #9A5A34 #749A34
monochromatic
#151A3E #252E6C #34419A #4959C2 #7783D1

Accessibility & contrast

On white

8.87
#34419A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#34419A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34419A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34419A#FFFFFF#000000##FFFFFF
##34419A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9D
Deuteranopia (green-blind)
#004698
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34419a;
/* rgb */ color: rgb(52, 65, 154);
/* oklch */ color: oklch(41.9% 0.145 272.3);
Tailwind
colors: {
  custom: {
    50: '#7775b8',
    500: '#34419a',
    950: '#000000',
  },
}
SCSS
$custom: #34419a;
$custom-light: #7775b8;
$custom-dark: #000000;
JSON
{
  "hex": "#34419a",
  "rgb": {
    "r": 52,
    "g": 65,
    "b": 154
  },
  "hsl": {
    "h": 232.353,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41856,
    "c": 0.14491,
    "h": 272.3
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#34419A
secondary
#BAB070
accent
#C74FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #34419A

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

Preview Lab → · Contrast checker → · Palette generator →

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