#34248F#34248F

#34248F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.166 H 280.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#34248F
RGBrgb(52, 36, 143)
HSLhsl(249, 60%, 35%)
HSVhsv(249, 75%, 56%)
CMYKcmyk(63.6%, 74.8%, 0%, 43.9%)
CIE-LABlab(23.59, 38.98, -56.43)
CIE-LCHlch(23.59, 68.58, 304.64°)
OKLaboklab(35.83% 0.031 -0.1628)
OKLCHoklch(35.83% 0.166 280.8)
XYZxyz(7.0034, 3.9745, 26.3794)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34248F #7F8F24
analogous
#24498F #34248F #6A248F
triadic
#34248F #8F3424 #248F34
tetradic
#34248F #8F2449 #7F8F24 #248F6A
square
#34248F #8F2449 #7F8F24 #248F6A
split-complementary
#34248F #8F6A24 #498F24
monochromatic
#100B2D #22185E #34248F #4630C0 #6B58D5

Accessibility & contrast

On white

11.70
#34248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#34248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34248F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34248F#FFFFFF#000000##FFFFFF
##34248F1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #34248f;
/* rgb */ color: rgb(52, 36, 143);
/* oklch */ color: oklch(35.8% 0.166 280.8);
Tailwind
colors: {
  custom: {
    50: '#7861b1',
    500: '#34248f',
    950: '#000000',
  },
}
SCSS
$custom: #34248f;
$custom-light: #7861b1;
$custom-dark: #000000;
JSON
{
  "hex": "#34248f",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 248.972,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35828,
    "c": 0.1657,
    "h": 280.8
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#34248F
secondary
#AAB955
accent
#E345CB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #34248F

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

Preview Lab → · Contrast checker → · Palette generator →

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