#34336F#34336F

#34336F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.6% C 0.101 H 280.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#34336F
RGBrgb(52, 51, 111)
HSLhsl(241, 37%, 32%)
HSVhsv(241, 54%, 44%)
CMYKcmyk(53.2%, 54.1%, 0%, 56.5%)
CIE-LABlab(24.47, 18.60, -34.81)
CIE-LCHlch(24.47, 39.47, 298.12°)
OKLaboklab(35.62% 0.0188 -0.0993)
OKLCHoklch(35.62% 0.101 280.7)
XYZxyz(5.4684, 4.2451, 15.5671)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34336F #6E6F33
analogous
#33506F #34336F #52336F
triadic
#34336F #6F3433 #336F34
tetradic
#34336F #6F3350 #6E6F33 #336F52
square
#34336F #6F3350 #6E6F33 #336F52
split-complementary
#34336F #6F5233 #506F33
monochromatic
#0D0C1B #202045 #34336F #484699 #6664B8

Accessibility & contrast

On white

11.36
#34336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#34336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34336F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34336F#FFFFFF#000000##FFFFFF
##34336F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#0F386E
Tritanopia (blue-blind)
#1D404C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34336f;
/* rgb */ color: rgb(52, 51, 111);
/* oklch */ color: oklch(35.6% 0.101 280.7);
Tailwind
colors: {
  custom: {
    50: '#706a99',
    500: '#34336f',
    950: '#000000',
  },
}
SCSS
$custom: #34336f;
$custom-light: #706a99;
$custom-dark: #000000;
JSON
{
  "hex": "#34336f",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 241,
    "s": 37.037,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.10102,
    "h": 280.7
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#34336F
secondary
#9FA05E
accent
#CD5BCB
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #34336F

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

Preview Lab → · Contrast checker → · Palette generator →

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