#34249C#34249C

#34249C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.182 H 278.8°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#34249C
RGBrgb(52, 36, 156)
HSLhsl(248, 63%, 38%)
HSVhsv(248, 77%, 61%)
CMYKcmyk(66.7%, 76.9%, 0%, 38.8%)
CIE-LABlab(24.93, 43.14, -62.23)
CIE-LCHlch(24.93, 75.72, 304.73°)
OKLaboklab(37.18% 0.0279 -0.1797)
OKLCHoklch(37.18% 0.182 278.8)
XYZxyz(8.0459, 4.3915, 31.8697)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34249C #8C9C24
analogous
#24509C #34249C #70249C
triadic
#34249C #9C3424 #249C34
tetradic
#34249C #9C2450 #8C9C24 #249C70
square
#34249C #9C2450 #8C9C24 #249C70
split-complementary
#34249C #9C7024 #509C24
monochromatic
#130D39 #23196A #34249C #452FCE #7060DA

Accessibility & contrast

On white

11.18
#34249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#34249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34249C
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34249C#FFFFFF#000000##FFFFFF
##34249C1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34249c;
/* rgb */ color: rgb(52, 36, 156);
/* oklch */ color: oklch(37.2% 0.182 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a61ba',
    500: '#34249c',
    950: '#000000',
  },
}
SCSS
$custom: #34249c;
$custom-light: #7a61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34249c",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 248,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37175,
    "c": 0.18186,
    "h": 278.8
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#34249C
secondary
#B2BF5C
accent
#E642D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34249C

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

Preview Lab → · Contrast checker → · Palette generator →

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