#342492#342492

#342492 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.169 H 280.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#342492
RGBrgb(52, 36, 146)
HSLhsl(249, 60%, 36%)
HSVhsv(249, 75%, 57%)
CMYKcmyk(64.4%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.89, 39.95, -57.79)
CIE-LCHlch(23.89, 70.25, 304.66°)
OKLaboklab(36.13% 0.0304 -0.1667)
OKLCHoklch(36.13% 0.169 280.3)
XYZxyz(7.2337, 4.0666, 27.5923)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342492 #829224
analogous
#244B92 #342492 #6B2492
triadic
#342492 #923424 #249234
tetradic
#342492 #92244B #829224 #24926B
square
#342492 #92244B #829224 #24926B
split-complementary
#342492 #926B24 #4B9224
monochromatic
#110C30 #231861 #342492 #4530C3 #6C5AD6

Accessibility & contrast

On white

11.58
#342492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#342492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342492
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342492#FFFFFF#000000##FFFFFF
##3424921.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #342492;
/* rgb */ color: rgb(52, 36, 146);
/* oklch */ color: oklch(36.1% 0.169 280.3);
Tailwind
colors: {
  custom: {
    50: '#7861b3',
    500: '#342492',
    950: '#000000',
  },
}
SCSS
$custom: #342492;
$custom-light: #7861b3;
$custom-dark: #000000;
JSON
{
  "hex": "#342492",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 248.727,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36134,
    "c": 0.16948,
    "h": 280.3
  },
  "luminance": 0.04067
}

Semantic roles & 50–950 ramp

primary
#342492
secondary
#ACBB57
accent
#E444CC
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #342492

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

Preview Lab → · Contrast checker → · Palette generator →

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