#34248A#34248A

#34248A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.159 H 281.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#34248A
RGBrgb(52, 36, 138)
HSLhsl(249, 59%, 34%)
HSVhsv(249, 74%, 54%)
CMYKcmyk(62.3%, 73.9%, 0%, 45.9%)
CIE-LABlab(23.09, 37.37, -54.13)
CIE-LCHlch(23.09, 65.78, 304.62°)
OKLaboklab(35.32% 0.0322 -0.1561)
OKLCHoklch(35.32% 0.159 281.6)
XYZxyz(6.6331, 3.8263, 24.4288)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34248A #7A8A24
analogous
#24478A #34248A #67248A
triadic
#34248A #8A3424 #248A34
tetradic
#34248A #8A2447 #7A8A24 #248A67
square
#34248A #8A2447 #7A8A24 #248A67
split-complementary
#34248A #8A6724 #478A24
monochromatic
#0F0B29 #221759 #34248A #4631BB #6956D3

Accessibility & contrast

On white

11.90
#34248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#34248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34248A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34248A#FFFFFF#000000##FFFFFF
##34248A1.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #34248a;
/* rgb */ color: rgb(52, 36, 138);
/* oklch */ color: oklch(35.3% 0.159 281.6);
Tailwind
colors: {
  custom: {
    50: '#7761ad',
    500: '#34248a',
    950: '#000000',
  },
}
SCSS
$custom: #34248a;
$custom-light: #7761ad;
$custom-dark: #000000;
JSON
{
  "hex": "#34248a",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 249.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.15934,
    "h": 281.6
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#34248A
secondary
#A7B753
accent
#E246C9
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34248A

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

Preview Lab → · Contrast checker → · Palette generator →

#34248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva