#34239D#34239D

#34239D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.184 H 278.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#34239D
RGBrgb(52, 35, 157)
HSLhsl(248, 64%, 38%)
HSVhsv(248, 78%, 62%)
CMYKcmyk(66.9%, 77.7%, 0%, 38.4%)
CIE-LABlab(24.85, 43.98, -62.97)
CIE-LCHlch(24.85, 76.81, 304.93°)
OKLaboklab(37.15% 0.0283 -0.1819)
OKLCHoklch(37.15% 0.184 278.8)
XYZxyz(8.1011, 4.3658, 32.3075)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34239D #8C9D23
analogous
#234F9D #34239D #71239D
triadic
#34239D #9D3423 #239D34
tetradic
#34239D #9D234F #8C9D23 #239D71
square
#34239D #9D234F #8C9D23 #239D71
split-complementary
#34239D #9D7123 #4F9D23
monochromatic
#130D39 #23186B #34239D #452ECF #705FDB

Accessibility & contrast

On white

11.21
#34239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34239D
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34239D#FFFFFF#000000##FFFFFF
##34239D1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34239d;
/* rgb */ color: rgb(52, 35, 157);
/* oklch */ color: oklch(37.1% 0.184 278.8);
Tailwind
colors: {
  custom: {
    50: '#7b61bb',
    500: '#34239d',
    950: '#000000',
  },
}
SCSS
$custom: #34239d;
$custom-light: #7b61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34239d",
  "rgb": {
    "r": 52,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 248.361,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.18404,
    "h": 278.8
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#34239D
secondary
#B2C05C
accent
#E741D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34239D

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

Preview Lab → · Contrast checker → · Palette generator →

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