#34339C#34339C

#34339C is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.4% C 0.165 H 276.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#34339C
RGBrgb(52, 51, 156)
HSLhsl(241, 51%, 41%)
HSVhsv(241, 67%, 61%)
CMYKcmyk(66.7%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.11, 34.34, -57.00)
CIE-LCHlch(28.11, 66.55, 301.07°)
OKLaboklab(39.45% 0.0176 -0.1645)
OKLCHoklch(39.45% 0.165 276.1)
XYZxyz(8.5988, 5.4973, 32.0540)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34339C #9B9C33
analogous
#33679C #34339C #68339C
triadic
#34339C #9C3433 #339C34
tetradic
#34339C #9C3367 #9B9C33 #339C68
square
#34339C #9C3367 #9B9C33 #339C68
split-complementary
#34339C #9C6833 #679C33
monochromatic
#151540 #25246E #34339C #4A49C3 #7877D3

Accessibility & contrast

On white

10.00
#34339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#34339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34339C
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34339C#FFFFFF#000000##FFFFFF
##34339C1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34339c;
/* rgb */ color: rgb(52, 51, 156);
/* oklch */ color: oklch(39.4% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#796bba',
    500: '#34339c',
    950: '#000000',
  },
}
SCSS
$custom: #34339c;
$custom-light: #796bba;
$custom-dark: #000000;
JSON
{
  "hex": "#34339c",
  "rgb": {
    "r": 52,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 240.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.16541,
    "h": 276.1
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#34339C
secondary
#BABB70
accent
#DA4ED9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #34339C

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

Preview Lab → · Contrast checker → · Palette generator →

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