#34239E#34239E

#34239E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.185 H 278.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#34239E
RGBrgb(52, 35, 158)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.1%, 77.8%, 0%, 38%)
CIE-LABlab(24.95, 44.30, -63.41)
CIE-LCHlch(24.95, 77.35, 304.94°)
OKLaboklab(37.26% 0.028 -0.1831)
OKLCHoklch(37.26% 0.185 278.7)
XYZxyz(8.1868, 4.4001, 32.7590)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239E #8D9E23
analogous
#234F9E #34239E #72239E
triadic
#34239E #9E3423 #239E34
tetradic
#34239E #9E234F #8D9E23 #239E72
square
#34239E #9E234F #8D9E23 #239E72
split-complementary
#34239E #9E7223 #4F9E23
monochromatic
#130D3A #24186C #34239E #442ED0 #7160DC

Accessibility & contrast

On white

11.17
#34239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#34239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34239E
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239E#FFFFFF#000000##FFFFFF
##34239E1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34239e;
/* rgb */ color: rgb(52, 35, 158);
/* oklch */ color: oklch(37.3% 0.185 278.7);
Tailwind
colors: {
  custom: {
    50: '#7b61bc',
    500: '#34239e',
    950: '#000000',
  },
}
SCSS
$custom: #34239e;
$custom-light: #7b61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34239e",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 248.293,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37257,
    "c": 0.18526,
    "h": 278.7
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#34239E
secondary
#B3C15C
accent
#E741D0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34239E

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

Preview Lab → · Contrast checker → · Palette generator →

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