#34337C#34337C

#34337C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.121 H 279.2°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#34337C
RGBrgb(52, 51, 124)
HSLhsl(241, 42%, 34%)
HSVhsv(241, 59%, 49%)
CMYKcmyk(58.1%, 58.9%, 0%, 51.4%)
CIE-LABlab(25.42, 23.14, -41.54)
CIE-LCHlch(25.42, 47.55, 299.12°)
OKLaboklab(36.64% 0.0194 -0.1191)
OKLCHoklch(36.64% 0.121 279.2)
XYZxyz(6.2369, 4.5525, 19.6149)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34337C #7B7C33
analogous
#33577C #34337C #59337C
triadic
#34337C #7C3433 #337C34
tetradic
#34337C #7C3357 #7B7C33 #337C59
square
#34337C #7C3357 #7B7C33 #337C59
split-complementary
#34337C #7C5933 #577C33
monochromatic
#100F25 #222151 #34337C #4645A7 #6A68C1

Accessibility & contrast

On white

10.99
#34337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34337C
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34337C#FFFFFF#000000##FFFFFF
##34337C1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#0E4452
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34337c;
/* rgb */ color: rgb(52, 51, 124);
/* oklch */ color: oklch(36.6% 0.121 279.2);
Tailwind
colors: {
  custom: {
    50: '#736aa2',
    500: '#34337c',
    950: '#000000',
  },
}
SCSS
$custom: #34337c;
$custom-light: #736aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#34337c",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 240.822,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36639,
    "c": 0.12063,
    "h": 279.2
  },
  "luminance": 0.04553
}

Semantic roles & 50–950 ramp

primary
#34337C
secondary
#A8A962
accent
#D256D0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #34337C

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

Preview Lab → · Contrast checker → · Palette generator →

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