#34348E#34348E

#34348E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.145 H 277.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#34348E
RGBrgb(52, 52, 142)
HSLhsl(240, 46%, 38%)
HSVhsv(240, 63%, 56%)
CMYKcmyk(63.4%, 63.4%, 0%, 44.3%)
CIE-LABlab(27.13, 28.81, -50.01)
CIE-LCHlch(27.13, 57.72, 299.95°)
OKLaboklab(38.35% 0.0179 -0.144)
OKLCHoklch(38.35% 0.145 277.1)
XYZxyz(7.5251, 5.1385, 26.1812)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34348E #8E8E34
analogous
#34618E #34348E #61348E
triadic
#34348E #8E3434 #348E34
tetradic
#34348E #8E3461 #8E8E34 #348E61
square
#34348E #8E3461 #8E8E34 #348E61
split-complementary
#34348E #8E6134 #618E34
monochromatic
#131334 #242461 #34348E #4444BB #7171CB

Accessibility & contrast

On white

10.36
#34348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#34348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34348E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34348E#FFFFFF#000000##FFFFFF
##34348E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #34348e;
/* rgb */ color: rgb(52, 52, 142);
/* oklch */ color: oklch(38.4% 0.145 277.1);
Tailwind
colors: {
  custom: {
    50: '#766bb0',
    500: '#34348e',
    950: '#000000',
  },
}
SCSS
$custom: #34348e;
$custom-light: #766bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#34348e",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 240,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38354,
    "c": 0.14507,
    "h": 277.1
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#34348E
secondary
#B3B36A
accent
#D652D6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #34348E

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

Preview Lab → · Contrast checker → · Palette generator →

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