#34249D#34249D

#34249D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.183 H 278.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#34249D
RGBrgb(52, 36, 157)
HSLhsl(248, 63%, 38%)
HSVhsv(248, 77%, 62%)
CMYKcmyk(66.9%, 77.1%, 0%, 38.4%)
CIE-LABlab(25.03, 43.45, -62.67)
CIE-LCHlch(25.03, 76.26, 304.74°)
OKLaboklab(37.28% 0.0277 -0.181)
OKLCHoklch(37.28% 0.183 278.7)
XYZxyz(8.1309, 4.4255, 32.3175)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34249D #8D9D24
analogous
#24509D #34249D #70249D
triadic
#34249D #9D3424 #249D34
tetradic
#34249D #9D2450 #8D9D24 #249D70
square
#34249D #9D2450 #8D9D24 #249D70
split-complementary
#34249D #9D7024 #509D24
monochromatic
#130D39 #24196B #34249D #442FCF #7161DB

Accessibility & contrast

On white

11.14
#34249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34249D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34249D#FFFFFF#000000##FFFFFF
##34249D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #34249d;
/* rgb */ color: rgb(52, 36, 157);
/* oklch */ color: oklch(37.3% 0.183 278.7);
Tailwind
colors: {
  custom: {
    50: '#7b62bb',
    500: '#34249d',
    950: '#000000',
  },
}
SCSS
$custom: #34249d;
$custom-light: #7b62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#34249d",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 247.934,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3728,
    "c": 0.18309,
    "h": 278.7
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#34249D
secondary
#B3C05D
accent
#E642D0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #34249D

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

Preview Lab → · Contrast checker → · Palette generator →

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