#34409D#34409D

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

Color values

HEX#34409D
RGBrgb(52, 64, 157)
HSLhsl(233, 50%, 41%)
HSVhsv(233, 67%, 62%)
CMYKcmyk(66.9%, 59.2%, 0%, 38.4%)
CIE-LABlab(31.42, 26.29, -52.21)
CIE-LCHlch(31.42, 58.45, 296.73°)
OKLaboklab(41.91% 0.0067 -0.1503)
OKLCHoklch(41.91% 0.15 272.5)
XYZxyz(9.3333, 6.8303, 32.7183)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409D #9D9134
analogous
#34749D #34409D #5C349D
triadic
#34409D #9D3440 #409D34
tetradic
#34409D #9D3474 #9D9134 #349D5C
square
#34409D #9D3474 #9D9134 #349D5C
split-complementary
#34409D #9D5C34 #749D34
monochromatic
#161B41 #252D6F #34409D #4B59C3 #7983D3

Accessibility & contrast

On white

8.87
#34409D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#34409D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34409D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409D#FFFFFF#000000##FFFFFF
##34409D1.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)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34409d;
/* rgb */ color: rgb(52, 64, 157);
/* oklch */ color: oklch(41.9% 0.150 272.5);
Tailwind
colors: {
  custom: {
    50: '#7874bb',
    500: '#34409d',
    950: '#000000',
  },
}
SCSS
$custom: #34409d;
$custom-light: #7874bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34409d",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 157
  },
  "hsl": {
    "h": 233.143,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41908,
    "c": 0.15045,
    "h": 272.5
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#34409D
secondary
#BBB372
accent
#CA4EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #34409D

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

Preview Lab → · Contrast checker → · Palette generator →

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