#34408E#34408E

#34408E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.129 H 272.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#34408E
RGBrgb(52, 64, 142)
HSLhsl(232, 46%, 38%)
HSVhsv(232, 63%, 56%)
CMYKcmyk(63.4%, 54.9%, 0%, 44.3%)
CIE-LABlab(30.28, 20.84, -44.90)
CIE-LCHlch(30.28, 49.50, 294.90°)
OKLaboklab(40.7% 0.0062 -0.1288)
OKLCHoklch(40.7% 0.129 272.7)
XYZxyz(8.1304, 6.3492, 26.3830)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34408E #8E8234
analogous
#346D8E #34408E #55348E
triadic
#34408E #8E3440 #408E34
tetradic
#34408E #8E346D #8E8234 #348E55
square
#34408E #8E346D #8E8234 #348E55
split-complementary
#34408E #8E5534 #6D8E34
monochromatic
#131834 #242C61 #34408E #4454BB #717DCB

Accessibility & contrast

On white

9.25
#34408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#34408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34408E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34408E#FFFFFF#000000##FFFFFF
##34408E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4B91
Deuteranopia (green-blind)
#00438C
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #34408e;
/* rgb */ color: rgb(52, 64, 142);
/* oklch */ color: oklch(40.7% 0.129 272.7);
Tailwind
colors: {
  custom: {
    50: '#7574b0',
    500: '#34408e',
    950: '#000000',
  },
}
SCSS
$custom: #34408e;
$custom-light: #7574b0;
$custom-dark: #000000;
JSON
{
  "hex": "#34408e",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 232,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40695,
    "c": 0.12896,
    "h": 272.7
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#34408E
secondary
#B3AA6A
accent
#C452D6
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #34408E

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

Preview Lab → · Contrast checker → · Palette generator →

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