#342494#342494

#342494 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.172 H 280.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#342494
RGBrgb(52, 36, 148)
HSLhsl(249, 61%, 36%)
HSVhsv(249, 76%, 58%)
CMYKcmyk(64.9%, 75.7%, 0%, 42%)
CIE-LABlab(24.09, 40.59, -58.69)
CIE-LCHlch(24.09, 71.35, 304.67°)
OKLaboklab(36.34% 0.0299 -0.1694)
OKLCHoklch(36.34% 0.172 280)
XYZxyz(7.3906, 4.1294, 28.4188)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342494 #849424
analogous
#244C94 #342494 #6C2494
triadic
#342494 #943424 #249434
tetradic
#342494 #94244C #849424 #24946C
square
#342494 #94244C #849424 #24946C
split-complementary
#342494 #946C24 #4C9424
monochromatic
#110C32 #231863 #342494 #4530C5 #6D5BD7

Accessibility & contrast

On white

11.50
#342494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#342494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342494
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342494#FFFFFF#000000##FFFFFF
##3424941.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #342494;
/* rgb */ color: rgb(52, 36, 148);
/* oklch */ color: oklch(36.3% 0.172 280.0);
Tailwind
colors: {
  custom: {
    50: '#7961b5',
    500: '#342494',
    950: '#000000',
  },
}
SCSS
$custom: #342494;
$custom-light: #7961b5;
$custom-dark: #000000;
JSON
{
  "hex": "#342494",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 248.571,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.17198,
    "h": 280
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#342494
secondary
#AEBC58
accent
#E444CD
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #342494

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

Preview Lab → · Contrast checker → · Palette generator →

#342494 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva