#34259C#34259C

#34259C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.181 H 278.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#34259C
RGBrgb(52, 37, 156)
HSLhsl(248, 62%, 38%)
HSVhsv(248, 76%, 61%)
CMYKcmyk(66.7%, 76.3%, 0%, 38.8%)
CIE-LABlab(25.12, 42.60, -61.92)
CIE-LCHlch(25.12, 75.16, 304.53°)
OKLaboklab(37.31% 0.0273 -0.1788)
OKLCHoklch(37.31% 0.181 278.7)
XYZxyz(8.0766, 4.4528, 31.8799)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259C #8D9C25
analogous
#25519C #34259C #6F259C
triadic
#34259C #9C3425 #259C34
tetradic
#34259C #9C2551 #8D9C25 #259C6F
square
#34259C #9C2551 #8D9C25 #259C6F
split-complementary
#34259C #9C6F25 #519C25
monochromatic
#130E39 #24196B #34259C #4431CD #7162DA

Accessibility & contrast

On white

11.11
#34259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#34259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34259C
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259C#FFFFFF#000000##FFFFFF
##34259C1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34259c;
/* rgb */ color: rgb(52, 37, 156);
/* oklch */ color: oklch(37.3% 0.181 278.7);
Tailwind
colors: {
  custom: {
    50: '#7a62ba',
    500: '#34259c',
    950: '#000000',
  },
}
SCSS
$custom: #34259c;
$custom-light: #7a62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#34259c",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 247.563,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.18088,
    "h": 278.7
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34259C

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

Preview Lab → · Contrast checker → · Palette generator →

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