#34337F#34337F

#34337F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.125 H 278.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#34337F
RGBrgb(52, 51, 127)
HSLhsl(241, 43%, 35%)
HSVhsv(241, 60%, 50%)
CMYKcmyk(59.1%, 59.8%, 0%, 50.2%)
CIE-LABlab(25.65, 24.19, -43.06)
CIE-LCHlch(25.65, 49.39, 299.33°)
OKLaboklab(36.89% 0.0194 -0.1235)
OKLCHoklch(36.89% 0.125 278.9)
XYZxyz(6.4296, 4.6296, 20.6294)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34337F #7E7F33
analogous
#33587F #34337F #5A337F
triadic
#34337F #7F3433 #337F34
tetradic
#34337F #7F3358 #7E7F33 #337F5A
square
#34337F #7F3358 #7E7F33 #337F5A
split-complementary
#34337F #7F5A33 #587F33
monochromatic
#101028 #222153 #34337F #4645AB #6B69C3

Accessibility & contrast

On white

10.90
#34337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#34337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34337F
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34337F#FFFFFF#000000##FFFFFF
##34337F1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#094553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34337f;
/* rgb */ color: rgb(52, 51, 127);
/* oklch */ color: oklch(36.9% 0.125 278.9);
Tailwind
colors: {
  custom: {
    50: '#736aa5',
    500: '#34337f',
    950: '#000000',
  },
}
SCSS
$custom: #34337f;
$custom-light: #736aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#34337f",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 240.789,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36885,
    "c": 0.12503,
    "h": 278.9
  },
  "luminance": 0.0463
}

Semantic roles & 50–950 ramp

primary
#34337F
secondary
#AAAB63
accent
#D255D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #34337F

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

Preview Lab → · Contrast checker → · Palette generator →

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