#34258D#34258D

#34258D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.162 H 280.9°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#34258D
RGBrgb(52, 37, 141)
HSLhsl(249, 58%, 35%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(63.1%, 73.8%, 0%, 44.7%)
CIE-LABlab(23.59, 37.77, -55.18)
CIE-LCHlch(23.59, 66.86, 304.39°)
OKLaboklab(35.77% 0.0307 -0.1591)
OKLCHoklch(35.77% 0.162 280.9)
XYZxyz(6.8839, 3.9758, 25.5988)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34258D #7E8D25
analogous
#254A8D #34258D #68258D
triadic
#34258D #8D3425 #258D34
tetradic
#34258D #8D254A #7E8D25 #258D68
square
#34258D #8D254A #7E8D25 #258D68
split-complementary
#34258D #8D6825 #4A8D25
monochromatic
#100C2C #22185D #34258D #4632BD #6B59D3

Accessibility & contrast

On white

11.70
#34258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#34258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34258D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34258D#FFFFFF#000000##FFFFFF
##34258D1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34258d;
/* rgb */ color: rgb(52, 37, 141);
/* oklch */ color: oklch(35.8% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#34258d',
    950: '#000000',
  },
}
SCSS
$custom: #34258d;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#34258d",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 248.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35771,
    "c": 0.16206,
    "h": 280.9
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#34258D
secondary
#AAB856
accent
#E246CB
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34258D

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

Preview Lab → · Contrast checker → · Palette generator →

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