#34409F#34409F

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

Color values

HEX#34409F
RGBrgb(52, 64, 159)
HSLhsl(233, 51%, 41%)
HSVhsv(233, 67%, 62%)
CMYKcmyk(67.3%, 59.7%, 0%, 37.6%)
CIE-LABlab(31.58, 27.02, -53.16)
CIE-LCHlch(31.58, 59.63, 296.94°)
OKLaboklab(42.08% 0.0067 -0.1531)
OKLCHoklch(42.08% 0.153 272.5)
XYZxyz(9.5055, 6.8992, 33.6249)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409F #9F9334
analogous
#34769F #34409F #5E349F
triadic
#34409F #9F3440 #409F34
tetradic
#34409F #9F3476 #9F9334 #349F5E
square
#34409F #9F3476 #9F9334 #349F5E
split-complementary
#34409F #9F5E34 #769F34
monochromatic
#161B43 #252D71 #34409F #4C59C4 #7A84D3

Accessibility & contrast

On white

8.82
#34409F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#34409F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34409F
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409F#FFFFFF#000000##FFFFFF
##34409F1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34409f;
/* rgb */ color: rgb(52, 64, 159);
/* oklch */ color: oklch(42.1% 0.153 272.5);
Tailwind
colors: {
  custom: {
    50: '#7974bc',
    500: '#34409f',
    950: '#000000',
  },
}
SCSS
$custom: #34409f;
$custom-light: #7974bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34409f",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 159
  },
  "hsl": {
    "h": 233.271,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.15325,
    "h": 272.5
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34409F

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

Preview Lab → · Contrast checker → · Palette generator →

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