#34299C#34299C

#34299C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.177 H 278.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#34299C
RGBrgb(52, 41, 156)
HSLhsl(246, 58%, 39%)
HSVhsv(246, 74%, 61%)
CMYKcmyk(66.7%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.91, 40.36, -60.61)
CIE-LCHlch(25.91, 72.82, 303.66°)
OKLaboklab(37.87% 0.0248 -0.175)
OKLCHoklch(37.87% 0.177 278.1)
XYZxyz(8.2079, 4.7156, 31.9237)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34299C #919C29
analogous
#29579C #34299C #6D299C
triadic
#34299C #9C3429 #299C34
tetradic
#34299C #9C2957 #919C29 #299C6D
square
#34299C #9C2957 #919C29 #299C6D
split-complementary
#34299C #9C6D29 #579C29
monochromatic
#14103B #241C6C #34299C #4638CB #7368D7

Accessibility & contrast

On white

10.81
#34299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#34299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34299C
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34299C#FFFFFF#000000##FFFFFF
##34299C1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34299c;
/* rgb */ color: rgb(52, 41, 156);
/* oklch */ color: oklch(37.9% 0.177 278.1);
Tailwind
colors: {
  custom: {
    50: '#7a65ba',
    500: '#34299c',
    950: '#000000',
  },
}
SCSS
$custom: #34299c;
$custom-light: #7a65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34299c",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 245.739,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.17676,
    "h": 278.1
  },
  "luminance": 0.04716
}

Semantic roles & 50–950 ramp

primary
#34299C
secondary
#B5BE63
accent
#E246D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #34299C

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

Preview Lab → · Contrast checker → · Palette generator →

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