#34299F#34299F

#34299F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.181 H 277.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#34299F
RGBrgb(52, 41, 159)
HSLhsl(246, 59%, 39%)
HSVhsv(246, 74%, 62%)
CMYKcmyk(67.3%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.21, 41.35, -61.94)
CIE-LCHlch(26.21, 74.47, 303.72°)
OKLaboklab(38.17% 0.0242 -0.1789)
OKLCHoklch(38.17% 0.181 277.7)
XYZxyz(8.4651, 4.8184, 33.2781)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34299F #949F29
analogous
#29599F #34299F #6F299F
triadic
#34299F #9F3429 #299F34
tetradic
#34299F #9F2959 #949F29 #299F6F
square
#34299F #9F2959 #949F29 #299F6F
split-complementary
#34299F #9F6F29 #599F29
monochromatic
#14103E #241C6E #34299F #4739CC #746AD9

Accessibility & contrast

On white

10.69
#34299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#34299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34299F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34299F#FFFFFF#000000##FFFFFF
##34299F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34299f;
/* rgb */ color: rgb(52, 41, 159);
/* oklch */ color: oklch(38.2% 0.181 277.7);
Tailwind
colors: {
  custom: {
    50: '#7b65bd',
    500: '#34299f',
    950: '#000000',
  },
}
SCSS
$custom: #34299f;
$custom-light: #7b65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34299f",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 245.593,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38175,
    "c": 0.18053,
    "h": 277.7
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

primary
#34299F
secondary
#B7BF65
accent
#E246D4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #34299F

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

Preview Lab → · Contrast checker → · Palette generator →

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