#34259E#34259E

#34259E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.183 H 278.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#34259E
RGBrgb(52, 37, 158)
HSLhsl(247, 62%, 38%)
HSVhsv(247, 77%, 62%)
CMYKcmyk(67.1%, 76.6%, 0%, 38%)
CIE-LABlab(25.32, 43.24, -62.79)
CIE-LCHlch(25.32, 76.24, 304.55°)
OKLaboklab(37.52% 0.0269 -0.1814)
OKLCHoklch(37.52% 0.183 278.4)
XYZxyz(8.2473, 4.5211, 32.7792)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34259E #8F9E25
analogous
#25529E #34259E #70259E
triadic
#34259E #9E3425 #259E34
tetradic
#34259E #9E2552 #8F9E25 #259E70
square
#34259E #9E2552 #8F9E25 #259E70
split-complementary
#34259E #9E7025 #529E25
monochromatic
#130E3B #24196C #34259E #4531CF #7263DA

Accessibility & contrast

On white

11.03
#34259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34259E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34259E#FFFFFF#000000##FFFFFF
##34259E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00379C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #34259e;
/* rgb */ color: rgb(52, 37, 158);
/* oklch */ color: oklch(37.5% 0.183 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b62bc',
    500: '#34259e',
    950: '#000000',
  },
}
SCSS
$custom: #34259e;
$custom-light: #7b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34259e",
  "rgb": {
    "r": 52,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 247.438,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.18334,
    "h": 278.4
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34259E

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

Preview Lab → · Contrast checker → · Palette generator →

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