#34239C#34239C

#34239C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.183 H 279.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#34239C
RGBrgb(52, 35, 156)
HSLhsl(248, 63%, 37%)
HSVhsv(248, 78%, 61%)
CMYKcmyk(66.7%, 77.6%, 0%, 38.8%)
CIE-LABlab(24.74, 43.67, -62.54)
CIE-LCHlch(24.74, 76.27, 304.93°)
OKLaboklab(37.04% 0.0285 -0.1806)
OKLCHoklch(37.04% 0.183 279)
XYZxyz(8.0160, 4.3318, 31.8597)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239C #8B9C23
analogous
#234E9C #34239C #71239C
triadic
#34239C #9C3423 #239C34
tetradic
#34239C #9C234E #8B9C23 #239C71
square
#34239C #9C234E #8B9C23 #239C71
split-complementary
#34239C #9C7123 #4E9C23
monochromatic
#130D38 #23186A #34239C #452ECE #705EDB

Accessibility & contrast

On white

11.25
#34239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#34239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34239C
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239C#FFFFFF#000000##FFFFFF
##34239C1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34239c;
/* rgb */ color: rgb(52, 35, 156);
/* oklch */ color: oklch(37.0% 0.183 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a61ba',
    500: '#34239c',
    950: '#000000',
  },
}
SCSS
$custom: #34239c;
$custom-light: #7a61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34239c",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 248.43,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37044,
    "c": 0.18283,
    "h": 279
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#34239C
secondary
#B2C05B
accent
#E641CF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34239C

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

Preview Lab → · Contrast checker → · Palette generator →

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