#342C69#342C69

#342C69 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.103 H 285.5°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#342C69
RGBrgb(52, 44, 105)
HSLhsl(248, 41%, 29%)
HSVhsv(248, 58%, 41%)
CMYKcmyk(50.5%, 58.1%, 0%, 58.8%)
CIE-LABlab(22.13, 21.31, -34.70)
CIE-LCHlch(22.13, 40.72, 301.56°)
OKLaboklab(33.74% 0.0274 -0.099)
OKLCHoklch(33.74% 0.103 285.5)
XYZxyz(4.8659, 3.5511, 13.7909)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342C69 #61692C
analogous
#2C4369 #342C69 #532C69
triadic
#342C69 #69342C #2C6934
tetradic
#342C69 #692C43 #61692C #2C6953
square
#342C69 #692C43 #61692C #2C6953
split-complementary
#342C69 #69532C #43692C
monochromatic
#0B0916 #1F1A3E #342C69 #493E94 #6457B9

Accessibility & contrast

On white

12.28
#342C69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#342C69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342C69
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342C69#FFFFFF#000000##FFFFFF
##342C691.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09376B
Deuteranopia (green-blind)
#073368
Tritanopia (blue-blind)
#223946
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #342c69;
/* rgb */ color: rgb(52, 44, 105);
/* oklch */ color: oklch(33.7% 0.103 285.5);
Tailwind
colors: {
  custom: {
    50: '#706594',
    500: '#342c69',
    950: '#000000',
  },
}
SCSS
$custom: #342c69;
$custom-light: #706594;
$custom-dark: #000000;
JSON
{
  "hex": "#342c69",
  "rgb": {
    "r": 52,
    "g": 44,
    "b": 105
  },
  "hsl": {
    "h": 247.869,
    "s": 40.94,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.10271,
    "h": 285.5
  },
  "luminance": 0.03551
}

Semantic roles & 50–950 ramp

primary
#342C69
secondary
#929B56
accent
#D157C1
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #342C69

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

Preview Lab → · Contrast checker → · Palette generator →

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