#34409B#34409B

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

Color values

HEX#34409B
RGBrgb(52, 64, 155)
HSLhsl(233, 50%, 41%)
HSVhsv(233, 66%, 61%)
CMYKcmyk(66.5%, 58.7%, 0%, 39.2%)
CIE-LABlab(31.26, 25.56, -51.25)
CIE-LCHlch(31.26, 57.27, 296.51°)
OKLaboklab(41.74% 0.0067 -0.1475)
OKLCHoklch(41.74% 0.148 272.6)
XYZxyz(9.1640, 6.7626, 31.8264)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409B #9B8F34
analogous
#34739B #34409B #5C349B
triadic
#34409B #9B3440 #409B34
tetradic
#34409B #9B3473 #9B8F34 #349B5C
square
#34409B #9B3473 #9B8F34 #349B5C
split-complementary
#34409B #9B5C34 #739B34
monochromatic
#151A3F #252D6D #34409B #4A58C2 #7882D2

Accessibility & contrast

On white

8.93
#34409B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34409B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409B#FFFFFF#000000##FFFFFF
##34409B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#004599
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34409b;
/* rgb */ color: rgb(52, 64, 155);
/* oklch */ color: oklch(41.7% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#7874b9',
    500: '#34409b',
    950: '#000000',
  },
}
SCSS
$custom: #34409b;
$custom-light: #7874b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34409b",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 155
  },
  "hsl": {
    "h": 233.01,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41741,
    "c": 0.14763,
    "h": 272.6
  },
  "luminance": 0.06763
}

Semantic roles & 50–950 ramp

primary
#34409B
secondary
#BAB271
accent
#C94FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #34409B

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

Preview Lab → · Contrast checker → · Palette generator →

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