#34259A#34259A

#34259A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.178 H 279.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#34259A
RGBrgb(52, 37, 154)
HSLhsl(248, 61%, 37%)
HSVhsv(248, 76%, 60%)
CMYKcmyk(66.2%, 76%, 0%, 39.6%)
CIE-LABlab(24.91, 41.96, -61.04)
CIE-LCHlch(24.91, 74.07, 304.51°)
OKLaboklab(37.1% 0.0278 -0.1762)
OKLCHoklch(37.1% 0.178 279)
XYZxyz(7.9086, 4.3856, 30.9953)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259A #8B9A25
analogous
#25519A #34259A #6E259A
triadic
#34259A #9A3425 #259A34
tetradic
#34259A #9A2551 #8B9A25 #259A6E
square
#34259A #9A2551 #8B9A25 #259A6E
split-complementary
#34259A #9A6E25 #519A25
monochromatic
#130D37 #231969 #34259A #4531CB #7060D9

Accessibility & contrast

On white

11.19
#34259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#34259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34259A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259A#FFFFFF#000000##FFFFFF
##34259A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34259a;
/* rgb */ color: rgb(52, 37, 154);
/* oklch */ color: oklch(37.1% 0.178 279.0);
Tailwind
colors: {
  custom: {
    50: '#7a62b9',
    500: '#34259a',
    950: '#000000',
  },
}
SCSS
$custom: #34259a;
$custom-light: #7a62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#34259a",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 247.692,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.17841,
    "h": 279
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#34259A
secondary
#B2BE5D
accent
#E443D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #34259A

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

Preview Lab → · Contrast checker → · Palette generator →

#34259A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva