#34259D#34259D

#34259D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.182 H 278.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#34259D
RGBrgb(52, 37, 157)
HSLhsl(248, 62%, 38%)
HSVhsv(248, 76%, 62%)
CMYKcmyk(66.9%, 76.4%, 0%, 38.4%)
CIE-LABlab(25.22, 42.92, -62.36)
CIE-LCHlch(25.22, 75.70, 304.54°)
OKLaboklab(37.41% 0.0271 -0.1801)
OKLCHoklch(37.41% 0.182 278.6)
XYZxyz(8.1616, 4.4868, 32.3277)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259D #8E9D25
analogous
#25529D #34259D #70259D
triadic
#34259D #9D3425 #259D34
tetradic
#34259D #9D2552 #8E9D25 #259D70
square
#34259D #9D2552 #8E9D25 #259D70
split-complementary
#34259D #9D7025 #529D25
monochromatic
#130E3A #24196B #34259D #4431CE #7162DA

Accessibility & contrast

On white

11.07
#34259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#34259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34259D
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259D#FFFFFF#000000##FFFFFF
##34259D1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34259d;
/* rgb */ color: rgb(52, 37, 157);
/* oklch */ color: oklch(37.4% 0.182 278.6);
Tailwind
colors: {
  custom: {
    50: '#7a62bb',
    500: '#34259d',
    950: '#000000',
  },
}
SCSS
$custom: #34259d;
$custom-light: #7a62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34259d",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 247.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37413,
    "c": 0.18211,
    "h": 278.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#34259D
secondary
#B3BF5E
accent
#E543D1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34259D

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

Preview Lab → · Contrast checker → · Palette generator →

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