#342D69#342D69

#342D69 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.101 H 285.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#342D69
RGBrgb(52, 45, 105)
HSLhsl(247, 40%, 29%)
HSVhsv(247, 57%, 41%)
CMYKcmyk(50.5%, 57.1%, 0%, 58.8%)
CIE-LABlab(22.40, 20.63, -34.27)
CIE-LCHlch(22.40, 40.00, 301.05°)
OKLaboklab(33.94% 0.0261 -0.0977)
OKLCHoklch(33.94% 0.101 285)
XYZxyz(4.9036, 3.6265, 13.8035)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342D69 #62692D
analogous
#2D4469 #342D69 #522D69
triadic
#342D69 #69342D #2D6934
tetradic
#342D69 #692D44 #62692D #2D6952
square
#342D69 #692D44 #62692D #2D6952
split-complementary
#342D69 #69522D #44692D
monochromatic
#0B0915 #1F1B3E #342D69 #493F94 #6459B8

Accessibility & contrast

On white

12.17
#342D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#342D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342D69
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342D69#FFFFFF#000000##FFFFFF
##342D691.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D376B
Deuteranopia (green-blind)
#0A3468
Tritanopia (blue-blind)
#223A46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #342d69;
/* rgb */ color: rgb(52, 45, 105);
/* oklch */ color: oklch(33.9% 0.101 285.0);
Tailwind
colors: {
  custom: {
    50: '#706694',
    500: '#342d69',
    950: '#000000',
  },
}
SCSS
$custom: #342d69;
$custom-light: #706694;
$custom-dark: #000000;
JSON
{
  "hex": "#342d69",
  "rgb": {
    "r": 52,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 247,
    "s": 40,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33939,
    "c": 0.10115,
    "h": 285
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#342D69
secondary
#939B57
accent
#D058C2
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #342D69

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

Preview Lab → · Contrast checker → · Palette generator →

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