#34249F#34249F

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

Color values

HEX#34249F
RGBrgb(52, 36, 159)
HSLhsl(248, 63%, 38%)
HSVhsv(248, 77%, 62%)
CMYKcmyk(67.3%, 77.4%, 0%, 37.6%)
CIE-LABlab(25.24, 44.09, -63.54)
CIE-LCHlch(25.24, 77.33, 304.75°)
OKLaboklab(37.49% 0.0272 -0.1835)
OKLCHoklch(37.49% 0.186 278.4)
XYZxyz(8.3030, 4.4943, 33.2241)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34249F #8F9F24
analogous
#24519F #34249F #71249F
triadic
#34249F #9F3424 #249F34
tetradic
#34249F #9F2451 #8F9F24 #249F71
square
#34249F #9F2451 #8F9F24 #249F71
split-complementary
#34249F #9F7124 #519F24
monochromatic
#130D3B #24196D #34249F #4530D0 #7262DB

Accessibility & contrast

On white

11.06
#34249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#34249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34249F
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34249F#FFFFFF#000000##FFFFFF
##34249F1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34249f;
/* rgb */ color: rgb(52, 36, 159);
/* oklch */ color: oklch(37.5% 0.186 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b62bd',
    500: '#34249f',
    950: '#000000',
  },
}
SCSS
$custom: #34249f;
$custom-light: #7b62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#34249f",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 247.805,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37492,
    "c": 0.18552,
    "h": 278.4
  },
  "luminance": 0.04495
}

Semantic roles & 50–950 ramp

primary
#34249F
secondary
#B4C15E
accent
#E642D1
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34249F

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

Preview Lab → · Contrast checker → · Palette generator →

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