#34409E#34409E

#34409E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.152 H 272.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#34409E
RGBrgb(52, 64, 158)
HSLhsl(233, 50%, 41%)
HSVhsv(233, 67%, 62%)
CMYKcmyk(67.1%, 59.5%, 0%, 38%)
CIE-LABlab(31.50, 26.65, -52.68)
CIE-LCHlch(31.50, 59.04, 296.84°)
OKLaboklab(41.99% 0.0067 -0.1517)
OKLCHoklch(41.99% 0.152 272.5)
XYZxyz(9.4191, 6.8646, 33.1698)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409E #9E9234
analogous
#34759E #34409E #5D349E
triadic
#34409E #9E3440 #409E34
tetradic
#34409E #9E3475 #9E9234 #349E5D
square
#34409E #9E3475 #9E9234 #349E5D
split-complementary
#34409E #9E5D34 #759E34
monochromatic
#161B42 #252D70 #34409E #4B59C4 #7984D3

Accessibility & contrast

On white

8.85
#34409E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34409E
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409E#FFFFFF#000000##FFFFFF
##34409E1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34409e;
/* rgb */ color: rgb(52, 64, 158);
/* oklch */ color: oklch(42.0% 0.152 272.5);
Tailwind
colors: {
  custom: {
    50: '#7874bb',
    500: '#34409e',
    950: '#000000',
  },
}
SCSS
$custom: #34409e;
$custom-light: #7874bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34409e",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 158
  },
  "hsl": {
    "h": 233.208,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.15185,
    "h": 272.5
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34409E

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

Preview Lab → · Contrast checker → · Palette generator →

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