#34337B#34337B

#34337B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.6% C 0.119 H 279.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#34337B
RGBrgb(52, 51, 123)
HSLhsl(241, 41%, 34%)
HSVhsv(241, 59%, 48%)
CMYKcmyk(57.7%, 58.5%, 0%, 51.8%)
CIE-LABlab(25.34, 22.79, -41.03)
CIE-LCHlch(25.34, 46.94, 299.05°)
OKLaboklab(36.56% 0.0194 -0.1176)
OKLCHoklch(36.56% 0.119 279.4)
XYZxyz(6.1740, 4.5274, 19.2836)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34337B #7A7B33
analogous
#33567B #34337B #58337B
triadic
#34337B #7B3433 #337B34
tetradic
#34337B #7B3356 #7A7B33 #337B58
square
#34337B #7B3356 #7A7B33 #337B58
split-complementary
#34337B #7B5833 #567B33
monochromatic
#0F0F24 #222150 #34337B #4645A6 #6968C0

Accessibility & contrast

On white

11.02
#34337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#34337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34337B
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34337B#FFFFFF#000000##FFFFFF
##34337B1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#104451
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34337b;
/* rgb */ color: rgb(52, 51, 123);
/* oklch */ color: oklch(36.6% 0.119 279.4);
Tailwind
colors: {
  custom: {
    50: '#726aa2',
    500: '#34337b',
    950: '#000000',
  },
}
SCSS
$custom: #34337b;
$custom-light: #726aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#34337b",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 240.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36558,
    "c": 0.11915,
    "h": 279.4
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#34337B
secondary
#A7A862
accent
#D157D0
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34337B

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

Preview Lab → · Contrast checker → · Palette generator →

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