#34259F#34259F

#34259F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.185 H 278.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#34259F
RGBrgb(52, 37, 159)
HSLhsl(247, 62%, 38%)
HSVhsv(247, 77%, 62%)
CMYKcmyk(67.3%, 76.7%, 0%, 37.6%)
CIE-LABlab(25.43, 43.55, -63.23)
CIE-LCHlch(25.43, 76.78, 304.56°)
OKLaboklab(37.62% 0.0266 -0.1826)
OKLCHoklch(37.62% 0.185 278.3)
XYZxyz(8.3337, 4.5557, 33.2343)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259F #909F25
analogous
#25539F #34259F #71259F
triadic
#34259F #9F3425 #259F34
tetradic
#34259F #9F2553 #909F25 #259F71
square
#34259F #9F2553 #909F25 #259F71
split-complementary
#34259F #9F7125 #539F25
monochromatic
#140E3C #24196D #34259F #4532CF #7264DB

Accessibility & contrast

On white

10.99
#34259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#34259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34259F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259F#FFFFFF#000000##FFFFFF
##34259F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34259f;
/* rgb */ color: rgb(52, 37, 159);
/* oklch */ color: oklch(37.6% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#7b62bd',
    500: '#34259f',
    950: '#000000',
  },
}
SCSS
$custom: #34259f;
$custom-light: #7b62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34259f",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 247.377,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.18456,
    "h": 278.3
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#34259F
secondary
#B4C05F
accent
#E542D1
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34259F

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

Preview Lab → · Contrast checker → · Palette generator →

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