#34248B#34248B

#34248B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.161 H 281.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#34248B
RGBrgb(52, 36, 139)
HSLhsl(249, 59%, 34%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(62.6%, 74.1%, 0%, 45.5%)
CIE-LABlab(23.19, 37.69, -54.60)
CIE-LCHlch(23.19, 66.34, 304.62°)
OKLaboklab(35.42% 0.0319 -0.1574)
OKLCHoklch(35.42% 0.161 281.5)
XYZxyz(6.7058, 3.8554, 24.8119)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34248B #7B8B24
analogous
#24488B #34248B #68248B
triadic
#34248B #8B3424 #248B34
tetradic
#34248B #8B2448 #7B8B24 #248B68
square
#34248B #8B2448 #7B8B24 #248B68
split-complementary
#34248B #8B6824 #488B24
monochromatic
#100B2A #22175A #34248B #4631BC #6A56D3

Accessibility & contrast

On white

11.86
#34248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34248B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34248B#FFFFFF#000000##FFFFFF
##34248B1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003489
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #34248b;
/* rgb */ color: rgb(52, 36, 139);
/* oklch */ color: oklch(35.4% 0.161 281.5);
Tailwind
colors: {
  custom: {
    50: '#7761ae',
    500: '#34248b',
    950: '#000000',
  },
}
SCSS
$custom: #34248b;
$custom-light: #7761ae;
$custom-dark: #000000;
JSON
{
  "hex": "#34248b",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 249.32,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35424,
    "c": 0.16062,
    "h": 281.5
  },
  "luminance": 0.03856
}

Semantic roles & 50–950 ramp

primary
#34248B
secondary
#A8B753
accent
#E246CA
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34248B

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

Preview Lab → · Contrast checker → · Palette generator →

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