#34349D#34349D

#34349D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.166 H 275.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#34349D
RGBrgb(52, 52, 157)
HSLhsl(240, 50%, 41%)
HSVhsv(240, 67%, 62%)
CMYKcmyk(66.9%, 66.9%, 0%, 38.4%)
CIE-LABlab(28.43, 34.06, -57.08)
CIE-LCHlch(28.43, 66.47, 300.83°)
OKLaboklab(39.71% 0.0167 -0.1647)
OKLCHoklch(39.71% 0.166 275.8)
XYZxyz(8.7280, 5.6196, 32.5165)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34349D #9D9D34
analogous
#34689D #34349D #68349D
triadic
#34349D #9D3434 #349D34
tetradic
#34349D #9D3468 #9D9D34 #349D68
square
#34349D #9D3468 #9D9D34 #349D68
split-complementary
#34349D #9D6834 #689D34
monochromatic
#161641 #25256F #34349D #4B4BC3 #7979D3

Accessibility & contrast

On white

9.89
#34349D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#34349D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34349D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34349D#FFFFFF#000000##FFFFFF
##34349D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34349d;
/* rgb */ color: rgb(52, 52, 157);
/* oklch */ color: oklch(39.7% 0.166 275.8);
Tailwind
colors: {
  custom: {
    50: '#796cbb',
    500: '#34349d',
    950: '#000000',
  },
}
SCSS
$custom: #34349d;
$custom-light: #796cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#34349d",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 240,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39712,
    "c": 0.16553,
    "h": 275.8
  },
  "luminance": 0.0562
}

Semantic roles & 50–950 ramp

primary
#34349D
secondary
#BBBB72
accent
#DA4EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #34349D

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

Preview Lab → · Contrast checker → · Palette generator →

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