#34299B#34299B

#34299B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.175 H 278.2°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#34299B
RGBrgb(52, 41, 155)
HSLhsl(246, 58%, 38%)
HSVhsv(246, 74%, 61%)
CMYKcmyk(66.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(25.81, 40.04, -60.16)
CIE-LCHlch(25.81, 72.27, 303.64°)
OKLaboklab(37.77% 0.025 -0.1737)
OKLCHoklch(37.77% 0.176 278.2)
XYZxyz(8.1236, 4.6818, 31.4796)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34299B #909B29
analogous
#29579B #34299B #6D299B
triadic
#34299B #9B3429 #299B34
tetradic
#34299B #9B2957 #909B29 #299B6D
square
#34299B #9B2957 #909B29 #299B6D
split-complementary
#34299B #9B6D29 #579B29
monochromatic
#140F3A #241C6B #34299B #4537CA #7267D7

Accessibility & contrast

On white

10.84
#34299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34299B
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34299B#FFFFFF#000000##FFFFFF
##34299B1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #34299b;
/* rgb */ color: rgb(52, 41, 155);
/* oklch */ color: oklch(37.8% 0.175 278.2);
Tailwind
colors: {
  custom: {
    50: '#7a64ba',
    500: '#34299b',
    950: '#000000',
  },
}
SCSS
$custom: #34299b;
$custom-light: #7a64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34299b",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 245.789,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37768,
    "c": 0.1755,
    "h": 278.2
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#34299B
secondary
#B4BD63
accent
#E146D2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #34299B

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

Preview Lab → · Contrast checker → · Palette generator →

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