#34259B#34259B

#34259B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.180 H 278.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#34259B
RGBrgb(52, 37, 155)
HSLhsl(248, 61%, 38%)
HSVhsv(248, 76%, 61%)
CMYKcmyk(66.5%, 76.1%, 0%, 39.2%)
CIE-LABlab(25.01, 42.28, -61.48)
CIE-LCHlch(25.01, 74.61, 304.52°)
OKLaboklab(37.2% 0.0276 -0.1775)
OKLCHoklch(37.2% 0.18 278.8)
XYZxyz(7.9922, 4.4191, 31.4358)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259B #8C9B25
analogous
#25519B #34259B #6F259B
triadic
#34259B #9B3425 #259B34
tetradic
#34259B #9B2551 #8C9B25 #259B6F
square
#34259B #9B2551 #8C9B25 #259B6F
split-complementary
#34259B #9B6F25 #519B25
monochromatic
#130D38 #23196A #34259B #4531CC #7061D9

Accessibility & contrast

On white

11.15
#34259B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34259B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259B#FFFFFF#000000##FFFFFF
##34259B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34259b;
/* rgb */ color: rgb(52, 37, 155);
/* oklch */ color: oklch(37.2% 0.180 278.8);
Tailwind
colors: {
  custom: {
    50: '#7a62ba',
    500: '#34259b',
    950: '#000000',
  },
}
SCSS
$custom: #34259b;
$custom-light: #7a62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34259b",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 247.627,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.17965,
    "h": 278.8
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#34259B
secondary
#B2BF5D
accent
#E543D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #34259B

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

Preview Lab → · Contrast checker → · Palette generator →

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