#34299E#34299E

#34299E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.179 H 277.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#34299E
RGBrgb(52, 41, 158)
HSLhsl(246, 59%, 39%)
HSVhsv(246, 74%, 62%)
CMYKcmyk(67.1%, 74.1%, 0%, 38%)
CIE-LABlab(26.11, 41.02, -61.50)
CIE-LCHlch(26.11, 73.92, 303.70°)
OKLaboklab(38.07% 0.0244 -0.1776)
OKLCHoklch(38.07% 0.179 277.8)
XYZxyz(8.3787, 4.7839, 32.8230)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34299E #939E29
analogous
#29599E #34299E #6F299E
triadic
#34299E #9E3429 #299E34
tetradic
#34299E #9E2959 #939E29 #299E6F
square
#34299E #9E2959 #939E29 #299E6F
split-complementary
#34299E #9E6F29 #599E29
monochromatic
#14103D #241C6D #34299E #4639CC #7469D8

Accessibility & contrast

On white

10.73
#34299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34299E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34299E#FFFFFF#000000##FFFFFF
##34299E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #34299e;
/* rgb */ color: rgb(52, 41, 158);
/* oklch */ color: oklch(38.1% 0.179 277.8);
Tailwind
colors: {
  custom: {
    50: '#7a65bc',
    500: '#34299e',
    950: '#000000',
  },
}
SCSS
$custom: #34299e;
$custom-light: #7a65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34299e",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 245.641,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.17928,
    "h": 277.8
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#34299E
secondary
#B6BF64
accent
#E246D3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #34299E

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

Preview Lab → · Contrast checker → · Palette generator →

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