#34248D#34248D

#34248D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.163 H 281.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#34248D
RGBrgb(52, 36, 141)
HSLhsl(249, 59%, 35%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(63.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(23.39, 38.34, -55.51)
CIE-LCHlch(23.39, 67.47, 304.63°)
OKLaboklab(35.63% 0.0315 -0.1601)
OKLCHoklch(35.63% 0.163 281.1)
XYZxyz(6.8533, 3.9144, 25.5886)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34248D #7D8D24
analogous
#24498D #34248D #69248D
triadic
#34248D #8D3424 #248D34
tetradic
#34248D #8D2449 #7D8D24 #248D69
square
#34248D #8D2449 #7D8D24 #248D69
split-complementary
#34248D #8D6924 #498D24
monochromatic
#100B2B #22185C #34248D #4630BE #6A57D4

Accessibility & contrast

On white

11.78
#34248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#34248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34248D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34248D#FFFFFF#000000##FFFFFF
##34248D1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34248d;
/* rgb */ color: rgb(52, 36, 141);
/* oklch */ color: oklch(35.6% 0.163 281.1);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#34248d',
    950: '#000000',
  },
}
SCSS
$custom: #34248d;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#34248d",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 249.143,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35625,
    "c": 0.16317,
    "h": 281.1
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#34248D
secondary
#A9B854
accent
#E345CB
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34248D

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

Preview Lab → · Contrast checker → · Palette generator →

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