#34296F#34296F

#34296F is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.7% C 0.116 H 285.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#34296F
RGBrgb(52, 41, 111)
HSLhsl(249, 46%, 30%)
HSVhsv(249, 63%, 44%)
CMYKcmyk(53.2%, 63.1%, 0%, 56.5%)
CIE-LABlab(21.81, 25.33, -39.09)
CIE-LCHlch(21.81, 46.58, 302.94°)
OKLaboklab(33.65% 0.031 -0.1119)
OKLCHoklch(33.65% 0.116 285.5)
XYZxyz(5.0775, 3.4634, 15.4368)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34296F #646F29
analogous
#29416F #34296F #57296F
triadic
#34296F #6F3429 #296F34
tetradic
#34296F #6F2941 #646F29 #296F57
square
#34296F #6F2941 #646F29 #296F57
split-complementary
#34296F #6F5729 #416F29
monochromatic
#0A0816 #1F1842 #34296F #493A9C #6453BF

Accessibility & contrast

On white

12.41
#34296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#34296F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34296F
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34296F#FFFFFF#000000##FFFFFF
##34296F1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#1E3947
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #34296f;
/* rgb */ color: rgb(52, 41, 111);
/* oklch */ color: oklch(33.7% 0.116 285.5);
Tailwind
colors: {
  custom: {
    50: '#716399',
    500: '#34296f',
    950: '#000000',
  },
}
SCSS
$custom: #34296f;
$custom-light: #716399;
$custom-dark: #000000;
JSON
{
  "hex": "#34296f",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 249.429,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33653,
    "c": 0.11614,
    "h": 285.5
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#34296F
secondary
#95A153
accent
#D652C1
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #34296F

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

Preview Lab → · Contrast checker → · Palette generator →

#34296F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva