#34409C#34409C

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

Color values

HEX#34409C
RGBrgb(52, 64, 156)
HSLhsl(233, 50%, 41%)
HSVhsv(233, 67%, 61%)
CMYKcmyk(66.7%, 59%, 0%, 38.8%)
CIE-LABlab(31.34, 25.93, -51.73)
CIE-LCHlch(31.34, 57.86, 296.62°)
OKLaboklab(41.83% 0.0067 -0.1489)
OKLCHoklch(41.83% 0.149 272.6)
XYZxyz(9.2483, 6.7963, 32.2705)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34409C #9C9034
analogous
#34749C #34409C #5C349C
triadic
#34409C #9C3440 #409C34
tetradic
#34409C #9C3474 #9C9034 #349C5C
square
#34409C #9C3474 #9C9034 #349C5C
split-complementary
#34409C #9C5C34 #749C34
monochromatic
#151A40 #252D6E #34409C #4A58C3 #7883D2

Accessibility & contrast

On white

8.90
#34409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#34409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34409C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34409C#FFFFFF#000000##FFFFFF
##34409C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #34409c;
/* rgb */ color: rgb(52, 64, 156);
/* oklch */ color: oklch(41.8% 0.149 272.6);
Tailwind
colors: {
  custom: {
    50: '#7874ba',
    500: '#34409c',
    950: '#000000',
  },
}
SCSS
$custom: #34409c;
$custom-light: #7874ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34409c",
  "rgb": {
    "r": 52,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 233.077,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41825,
    "c": 0.14904,
    "h": 272.6
  },
  "luminance": 0.06797
}

Semantic roles & 50–950 ramp

primary
#34409C
secondary
#BBB271
accent
#C94EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #34409C

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

Preview Lab → · Contrast checker → · Palette generator →

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