#34329B#34329B

#34329B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.165 H 276.4°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#34329B
RGBrgb(52, 50, 155)
HSLhsl(241, 51%, 40%)
HSVhsv(241, 68%, 61%)
CMYKcmyk(66.5%, 67.7%, 0%, 39.2%)
CIE-LABlab(27.78, 34.62, -56.92)
CIE-LCHlch(27.78, 66.62, 301.31°)
OKLaboklab(39.19% 0.0185 -0.1642)
OKLCHoklch(39.19% 0.165 276.4)
XYZxyz(8.4712, 5.3771, 31.5955)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34329B #999B32
analogous
#32649B #34329B #69329B
triadic
#34329B #9B3432 #329B34
tetradic
#34329B #9B3264 #999B32 #329B69
square
#34329B #9B3264 #999B32 #329B69
split-complementary
#34329B #9B6932 #649B32
monochromatic
#15143E #24236D #34329B #4947C4 #7775D2

Accessibility & contrast

On white

10.12
#34329B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#34329B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34329B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34329B#FFFFFF#000000##FFFFFF
##34329B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #34329b;
/* rgb */ color: rgb(52, 50, 155);
/* oklch */ color: oklch(39.2% 0.165 276.4);
Tailwind
colors: {
  custom: {
    50: '#796ab9',
    500: '#34329b',
    950: '#000000',
  },
}
SCSS
$custom: #34329b;
$custom-light: #796ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#34329b",
  "rgb": {
    "r": 52,
    "g": 50,
    "b": 155
  },
  "hsl": {
    "h": 241.143,
    "s": 51.22,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39186,
    "c": 0.16528,
    "h": 276.4
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#34329B
secondary
#B9BB6E
accent
#DB4DD8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #34329B

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

Preview Lab → · Contrast checker → · Palette generator →

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