#34249E#34249E

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

Color values

HEX#34249E
RGBrgb(52, 36, 158)
HSLhsl(248, 63%, 38%)
HSVhsv(248, 77%, 62%)
CMYKcmyk(67.1%, 77.2%, 0%, 38%)
CIE-LABlab(25.14, 43.77, -63.10)
CIE-LCHlch(25.14, 76.80, 304.75°)
OKLaboklab(37.39% 0.0274 -0.1822)
OKLCHoklch(37.39% 0.184 278.6)
XYZxyz(8.2166, 4.4598, 32.7689)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34249E #8E9E24
analogous
#24519E #34249E #71249E
triadic
#34249E #9E3424 #249E34
tetradic
#34249E #9E2451 #8E9E24 #249E71
square
#34249E #9E2451 #8E9E24 #249E71
split-complementary
#34249E #9E7124 #519E24
monochromatic
#130D3A #24196C #34249E #442FD0 #7161DB

Accessibility & contrast

On white

11.10
#34249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#34249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34249E
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34249E#FFFFFF#000000##FFFFFF
##34249E1.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34249e;
/* rgb */ color: rgb(52, 36, 158);
/* oklch */ color: oklch(37.4% 0.184 278.6);
Tailwind
colors: {
  custom: {
    50: '#7b62bc',
    500: '#34249e',
    950: '#000000',
  },
}
SCSS
$custom: #34249e;
$custom-light: #7b62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#34249e",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 247.869,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37386,
    "c": 0.1843,
    "h": 278.6
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#34249E
secondary
#B3C05E
accent
#E642D0
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34249E

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

Preview Lab → · Contrast checker → · Palette generator →

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