#342C67#342C67

#342C67 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.6% C 0.100 H 285.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#342C67
RGBrgb(52, 44, 103)
HSLhsl(248, 40%, 29%)
HSVhsv(248, 57%, 40%)
CMYKcmyk(49.5%, 57.3%, 0%, 59.6%)
CIE-LABlab(21.98, 20.64, -33.64)
CIE-LCHlch(21.98, 39.46, 301.53°)
OKLaboklab(33.59% 0.0273 -0.0959)
OKLCHoklch(33.59% 0.1 285.9)
XYZxyz(4.7643, 3.5105, 13.2559)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C67 #5F672C
analogous
#2C4267 #342C67 #522C67
triadic
#342C67 #67342C #2C6734
tetradic
#342C67 #672C42 #5F672C #2C6752
square
#342C67 #672C42 #5F672C #2C6752
split-complementary
#342C67 #67522C #42672C
monochromatic
#0B0915 #1E1A3C #342C67 #4A3E92 #6456B7

Accessibility & contrast

On white

12.34
#342C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#342C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C67
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C67#FFFFFF#000000##FFFFFF
##342C671.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3669
Deuteranopia (green-blind)
#0B3366
Tritanopia (blue-blind)
#233945
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #342c67;
/* rgb */ color: rgb(52, 44, 103);
/* oklch */ color: oklch(33.6% 0.100 285.9);
Tailwind
colors: {
  custom: {
    50: '#706593',
    500: '#342c67',
    950: '#000000',
  },
}
SCSS
$custom: #342c67;
$custom-light: #706593;
$custom-dark: #000000;
JSON
{
  "hex": "#342c67",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 248.136,
    "s": 40.136,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33585,
    "c": 0.09967,
    "h": 285.9
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#342C67
secondary
#909956
accent
#D058C0
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #342C67

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

Preview Lab → · Contrast checker → · Palette generator →

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