#34248C#34248C

#34248C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.162 H 281.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#34248C
RGBrgb(52, 36, 140)
HSLhsl(249, 59%, 35%)
HSVhsv(249, 74%, 55%)
CMYKcmyk(62.9%, 74.3%, 0%, 45.1%)
CIE-LABlab(23.29, 38.02, -55.06)
CIE-LCHlch(23.29, 66.91, 304.63°)
OKLaboklab(35.52% 0.0317 -0.1588)
OKLCHoklch(35.52% 0.162 281.3)
XYZxyz(6.7792, 3.8848, 25.1985)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34248C #7C8C24
analogous
#24488C #34248C #68248C
triadic
#34248C #8C3424 #248C34
tetradic
#34248C #8C2448 #7C8C24 #248C68
square
#34248C #8C2448 #7C8C24 #248C68
split-complementary
#34248C #8C6824 #488C24
monochromatic
#100B2B #22175B #34248C #4631BD #6A57D4

Accessibility & contrast

On white

11.82
#34248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34248C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34248C#FFFFFF#000000##FFFFFF
##34248C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00348A
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #34248c;
/* rgb */ color: rgb(52, 36, 140);
/* oklch */ color: oklch(35.5% 0.162 281.3);
Tailwind
colors: {
  custom: {
    50: '#7761af',
    500: '#34248c',
    950: '#000000',
  },
}
SCSS
$custom: #34248c;
$custom-light: #7761af;
$custom-dark: #000000;
JSON
{
  "hex": "#34248c",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 249.231,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35524,
    "c": 0.1619,
    "h": 281.3
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#34248C
secondary
#A9B854
accent
#E246CA
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #34248C

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

Preview Lab → · Contrast checker → · Palette generator →

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