#34337E#34337E

#34337E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.124 H 279.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#34337E
RGBrgb(52, 51, 126)
HSLhsl(241, 42%, 35%)
HSVhsv(241, 60%, 49%)
CMYKcmyk(58.7%, 59.5%, 0%, 50.6%)
CIE-LABlab(25.57, 23.84, -42.55)
CIE-LCHlch(25.57, 48.78, 299.26°)
OKLaboklab(36.8% 0.0194 -0.122)
OKLCHoklch(36.8% 0.124 279)
XYZxyz(6.3647, 4.6036, 20.2878)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34337E #7D7E33
analogous
#33587E #34337E #5A337E
triadic
#34337E #7E3433 #337E34
tetradic
#34337E #7E3358 #7D7E33 #337E5A
square
#34337E #7E3358 #7D7E33 #337E5A
split-complementary
#34337E #7E5A33 #587E33
monochromatic
#101027 #222152 #34337E #4645AA #6A69C2

Accessibility & contrast

On white

10.93
#34337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34337E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34337E#FFFFFF#000000##FFFFFF
##34337E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004081
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#0B4553
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34337e;
/* rgb */ color: rgb(52, 51, 126);
/* oklch */ color: oklch(36.8% 0.124 279.0);
Tailwind
colors: {
  custom: {
    50: '#736aa4',
    500: '#34337e',
    950: '#000000',
  },
}
SCSS
$custom: #34337e;
$custom-light: #736aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#34337e",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 240.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36803,
    "c": 0.12357,
    "h": 279
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#34337E
secondary
#A9AA63
accent
#D256D1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #34337E

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

Preview Lab → · Contrast checker → · Palette generator →

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