#342F4E#342F4E

#342F4E is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.5% C 0.054 H 290.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#342F4E
RGBrgb(52, 47, 78)
HSLhsl(250, 25%, 25%)
HSVhsv(250, 40%, 31%)
CMYKcmyk(33.3%, 39.7%, 0%, 69.4%)
CIE-LABlab(21.26, 10.49, -18.27)
CIE-LCHlch(21.26, 21.07, 299.86°)
OKLaboklab(32.53% 0.019 -0.051)
OKLCHoklch(32.53% 0.054 290.4)
XYZxyz(3.8075, 3.3131, 7.6451)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F4E #494E2F
analogous
#2F3A4E #342F4E #442F4E
triadic
#342F4E #4E342F #2F4E34
tetradic
#342F4E #4E2F3A #494E2F #2F4E44
square
#342F4E #4E2F3A #494E2F #2F4E44
split-complementary
#342F4E #4E442F #3A4E2F
monochromatic
#0D0C13 #1B1828 #342F4E #4D4674 #675D9A

Accessibility & contrast

On white

12.63
#342F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#342F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F4E
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F4E#FFFFFF#000000##FFFFFF
##342F4E1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26344F
Deuteranopia (green-blind)
#26324D
Tritanopia (blue-blind)
#2E353A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #342f4e;
/* rgb */ color: rgb(52, 47, 78);
/* oklch */ color: oklch(32.5% 0.054 290.4);
Tailwind
colors: {
  custom: {
    50: '#6c677f',
    500: '#342f4e',
    950: '#000000',
  },
}
SCSS
$custom: #342f4e;
$custom-light: #6c677f;
$custom-dark: #000000;
JSON
{
  "hex": "#342f4e",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 249.677,
    "s": 24.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.05438,
    "h": 290.4
  },
  "luminance": 0.03313
}

Semantic roles & 50–950 ramp

primary
#342F4E
secondary
#797F5A
accent
#C167B3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #342F4E

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

Preview Lab → · Contrast checker → · Palette generator →

#342F4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva