#34239B#34239B

#34239B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.182 H 279.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#34239B
RGBrgb(52, 35, 155)
HSLhsl(249, 63%, 37%)
HSVhsv(249, 77%, 61%)
CMYKcmyk(66.5%, 77.4%, 0%, 39.2%)
CIE-LABlab(24.63, 43.35, -62.10)
CIE-LCHlch(24.63, 75.74, 304.92°)
OKLaboklab(36.94% 0.0288 -0.1793)
OKLCHoklch(36.94% 0.182 279.1)
XYZxyz(7.9317, 4.2980, 31.4156)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239B #8A9B23
analogous
#234E9B #34239B #70239B
triadic
#34239B #9B3423 #239B34
tetradic
#34239B #9B234E #8A9B23 #239B70
square
#34239B #9B234E #8A9B23 #239B70
split-complementary
#34239B #9B7023 #4E9B23
monochromatic
#130C37 #231869 #34239B #452ECD #6F5EDB

Accessibility & contrast

On white

11.29
#34239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#34239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34239B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239B#FFFFFF#000000##FFFFFF
##34239B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34239b;
/* rgb */ color: rgb(52, 35, 155);
/* oklch */ color: oklch(36.9% 0.182 279.1);
Tailwind
colors: {
  custom: {
    50: '#7a61ba',
    500: '#34239b',
    950: '#000000',
  },
}
SCSS
$custom: #34239b;
$custom-light: #7a61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34239b",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 248.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.18161,
    "h": 279.1
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#34239B
secondary
#B1BF5A
accent
#E642CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34239B

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

Preview Lab → · Contrast checker → · Palette generator →

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