#34239F#34239F

#34239F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.186 H 278.6°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#34239F
RGBrgb(52, 35, 159)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(67.3%, 78%, 0%, 37.6%)
CIE-LABlab(25.06, 44.61, -63.84)
CIE-LCHlch(25.06, 77.88, 304.94°)
OKLaboklab(37.36% 0.0278 -0.1844)
OKLCHoklch(37.36% 0.186 278.6)
XYZxyz(8.2732, 4.4346, 33.2142)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239F #8E9F23
analogous
#23509F #34239F #72239F
triadic
#34239F #9F3423 #239F34
tetradic
#34239F #9F2350 #8E9F23 #239F72
square
#34239F #9F2350 #8E9F23 #239F72
split-complementary
#34239F #9F7223 #509F23
monochromatic
#130D3B #24186D #34239F #442ED1 #7160DC

Accessibility & contrast

On white

11.13
#34239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#34239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34239F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239F#FFFFFF#000000##FFFFFF
##34239F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A3
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34239f;
/* rgb */ color: rgb(52, 35, 159);
/* oklch */ color: oklch(37.4% 0.186 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b61bd',
    500: '#34239f',
    950: '#000000',
  },
}
SCSS
$custom: #34239f;
$custom-light: #7b61bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34239f",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 248.226,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37363,
    "c": 0.18647,
    "h": 278.6
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34239F

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

Preview Lab → · Contrast checker → · Palette generator →

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