#34337D#34337D

#34337D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.122 H 279.1°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#34337D
RGBrgb(52, 51, 125)
HSLhsl(241, 42%, 35%)
HSVhsv(241, 59%, 49%)
CMYKcmyk(58.4%, 59.2%, 0%, 51%)
CIE-LABlab(25.50, 23.49, -42.05)
CIE-LCHlch(25.50, 48.16, 299.19°)
OKLaboklab(36.72% 0.0194 -0.1205)
OKLCHoklch(36.72% 0.122 279.1)
XYZxyz(6.3005, 4.5780, 19.9497)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34337D #7C7D33
analogous
#33577D #34337D #59337D
triadic
#34337D #7D3433 #337D34
tetradic
#34337D #7D3357 #7C7D33 #337D59
square
#34337D #7D3357 #7C7D33 #337D59
split-complementary
#34337D #7D5933 #577D33
monochromatic
#101026 #222152 #34337D #4645A8 #6A69C2

Accessibility & contrast

On white

10.96
#34337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#34337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34337D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34337D#FFFFFF#000000##FFFFFF
##34337D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#0D4452
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34337d;
/* rgb */ color: rgb(52, 51, 125);
/* oklch */ color: oklch(36.7% 0.122 279.1);
Tailwind
colors: {
  custom: {
    50: '#736aa3',
    500: '#34337d',
    950: '#000000',
  },
}
SCSS
$custom: #34337d;
$custom-light: #736aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#34337d",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 240.811,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.1221,
    "h": 279.1
  },
  "luminance": 0.04578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34337D

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

Preview Lab → · Contrast checker → · Palette generator →

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