#34249A#34249A

#34249A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.179 H 279.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#34249A
RGBrgb(52, 36, 154)
HSLhsl(248, 62%, 37%)
HSVhsv(248, 77%, 60%)
CMYKcmyk(66.2%, 76.6%, 0%, 39.6%)
CIE-LABlab(24.72, 42.50, -61.35)
CIE-LCHlch(24.72, 74.64, 304.71°)
OKLaboklab(36.96% 0.0284 -0.1771)
OKLCHoklch(36.96% 0.179 279.1)
XYZxyz(7.8779, 4.3243, 30.9851)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34249A #8A9A24
analogous
#244F9A #34249A #6F249A
triadic
#34249A #9A3424 #249A34
tetradic
#34249A #9A244F #8A9A24 #249A6F
square
#34249A #9A244F #8A9A24 #249A6F
split-complementary
#34249A #9A6F24 #4F9A24
monochromatic
#130D37 #231868 #34249A #4530CC #6F5FDA

Accessibility & contrast

On white

11.26
#34249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#34249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34249A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34249A#FFFFFF#000000##FFFFFF
##34249A1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34249a;
/* rgb */ color: rgb(52, 36, 154);
/* oklch */ color: oklch(37.0% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a61b9',
    500: '#34249a',
    950: '#000000',
  },
}
SCSS
$custom: #34249a;
$custom-light: #7a61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34249a",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 248.136,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36964,
    "c": 0.17941,
    "h": 279.1
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#34249A
secondary
#B1BF5B
accent
#E543CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #34249A

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

Preview Lab → · Contrast checker → · Palette generator →

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