#34349C#34349C

#34349C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.6% C 0.164 H 275.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#34349C
RGBrgb(52, 52, 156)
HSLhsl(240, 50%, 41%)
HSVhsv(240, 67%, 61%)
CMYKcmyk(66.7%, 66.7%, 0%, 38.8%)
CIE-LABlab(28.34, 33.71, -56.62)
CIE-LCHlch(28.34, 65.89, 300.77°)
OKLaboklab(39.62% 0.0168 -0.1633)
OKLCHoklch(39.62% 0.164 275.9)
XYZxyz(8.6429, 5.5856, 32.0687)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34349C #9C9C34
analogous
#34689C #34349C #68349C
triadic
#34349C #9C3434 #349C34
tetradic
#34349C #9C3468 #9C9C34 #349C68
square
#34349C #9C3468 #9C9C34 #349C68
split-complementary
#34349C #9C6834 #689C34
monochromatic
#151540 #25256E #34349C #4A4AC3 #7878D2

Accessibility & contrast

On white

9.92
#34349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34349C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34349C#FFFFFF#000000##FFFFFF
##34349C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #34349c;
/* rgb */ color: rgb(52, 52, 156);
/* oklch */ color: oklch(39.6% 0.164 275.9);
Tailwind
colors: {
  custom: {
    50: '#796cba',
    500: '#34349c',
    950: '#000000',
  },
}
SCSS
$custom: #34349c;
$custom-light: #796cba;
$custom-dark: #000000;
JSON
{
  "hex": "#34349c",
  "rgb": {
    "r": 52,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39619,
    "c": 0.1642,
    "h": 275.9
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34349C

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

Preview Lab → · Contrast checker → · Palette generator →

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