#34289A#34289A

#34289A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.5% C 0.175 H 278.5°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#34289A
RGBrgb(52, 40, 154)
HSLhsl(246, 59%, 38%)
HSVhsv(246, 74%, 60%)
CMYKcmyk(66.2%, 74%, 0%, 39.6%)
CIE-LABlab(25.50, 40.28, -60.05)
CIE-LCHlch(25.50, 72.31, 303.85°)
OKLaboklab(37.52% 0.0259 -0.1734)
OKLCHoklch(37.52% 0.175 278.5)
XYZxyz(8.0058, 4.5801, 31.0277)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34289A #8E9A28
analogous
#28559A #34289A #6D289A
triadic
#34289A #9A3428 #289A34
tetradic
#34289A #9A2855 #8E9A28 #289A6D
square
#34289A #9A2855 #8E9A28 #289A6D
split-complementary
#34289A #9A6D28 #559A28
monochromatic
#130F39 #241B69 #34289A #4435CA #7165D7

Accessibility & contrast

On white

10.96
#34289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#34289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34289A
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34289A#FFFFFF#000000##FFFFFF
##34289A1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34289a;
/* rgb */ color: rgb(52, 40, 154);
/* oklch */ color: oklch(37.5% 0.175 278.5);
Tailwind
colors: {
  custom: {
    50: '#7a64b9',
    500: '#34289a',
    950: '#000000',
  },
}
SCSS
$custom: #34289a;
$custom-light: #7a64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34289a",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 246.316,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37521,
    "c": 0.1753,
    "h": 278.5
  },
  "luminance": 0.04581
}

Semantic roles & 50–950 ramp

primary
#34289A
secondary
#B3BD61
accent
#E246D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #34289A

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

Preview Lab → · Contrast checker → · Palette generator →

#34289A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva