#34336A#34336A

#34336A is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.3% C 0.093 H 281.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#34336A
RGBrgb(52, 51, 106)
HSLhsl(241, 35%, 31%)
HSVhsv(241, 52%, 42%)
CMYKcmyk(50.9%, 51.9%, 0%, 58.4%)
CIE-LABlab(24.12, 16.88, -32.15)
CIE-LCHlch(24.12, 36.31, 297.70°)
OKLaboklab(35.25% 0.0183 -0.0914)
OKLCHoklch(35.25% 0.093 281.3)
XYZxyz(5.2007, 4.1381, 14.1576)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34336A #696A33
analogous
#334D6A #34336A #4F336A
triadic
#34336A #6A3433 #336A34
tetradic
#34336A #6A334D #696A33 #336A4F
square
#34336A #6A334D #696A33 #336A4F
split-complementary
#34336A #6A4F33 #4D6A33
monochromatic
#0B0B17 #201F41 #34336A #484793 #6563B4

Accessibility & contrast

On white

11.49
#34336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#34336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34336A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34336A#FFFFFF#000000##FFFFFF
##34336A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3B6C
Deuteranopia (green-blind)
#163769
Tritanopia (blue-blind)
#203F49
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #34336a;
/* rgb */ color: rgb(52, 51, 106);
/* oklch */ color: oklch(35.3% 0.093 281.3);
Tailwind
colors: {
  custom: {
    50: '#706a95',
    500: '#34336a',
    950: '#000000',
  },
}
SCSS
$custom: #34336a;
$custom-light: #706a95;
$custom-dark: #000000;
JSON
{
  "hex": "#34336a",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 241.091,
    "s": 35.032,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.09324,
    "h": 281.3
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#34336A
secondary
#9A9B5E
accent
#CB5DC9
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #34336A

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

Preview Lab → · Contrast checker → · Palette generator →

#34336A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva