#34299A#34299A

#34299A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.174 H 278.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#34299A
RGBrgb(52, 41, 154)
HSLhsl(246, 58%, 38%)
HSVhsv(246, 73%, 60%)
CMYKcmyk(66.2%, 73.4%, 0%, 39.6%)
CIE-LABlab(25.71, 39.71, -59.72)
CIE-LCHlch(25.71, 71.71, 303.62°)
OKLaboklab(37.67% 0.0252 -0.1724)
OKLCHoklch(37.67% 0.174 278.3)
XYZxyz(8.0400, 4.6484, 31.0391)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34299A #8F9A29
analogous
#29569A #34299A #6C299A
triadic
#34299A #9A3429 #299A34
tetradic
#34299A #9A2956 #8F9A29 #299A6C
square
#34299A #9A2956 #8F9A29 #299A6C
split-complementary
#34299A #9A6C29 #569A29
monochromatic
#130F39 #241C6A #34299A #4537CA #7267D7

Accessibility & contrast

On white

10.88
#34299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#34299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34299A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34299A#FFFFFF#000000##FFFFFF
##34299A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34299a;
/* rgb */ color: rgb(52, 41, 154);
/* oklch */ color: oklch(37.7% 0.174 278.3);
Tailwind
colors: {
  custom: {
    50: '#7964b9',
    500: '#34299a',
    950: '#000000',
  },
}
SCSS
$custom: #34299a;
$custom-light: #7964b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34299a",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 245.841,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37667,
    "c": 0.17423,
    "h": 278.3
  },
  "luminance": 0.04649
}

Semantic roles & 50–950 ramp

primary
#34299A
secondary
#B4BD62
accent
#E147D2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #34299A

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

Preview Lab → · Contrast checker → · Palette generator →

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