#342E69#342E69

#342E69 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.100 H 284.4°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#342E69
RGBrgb(52, 46, 105)
HSLhsl(246, 39%, 30%)
HSVhsv(246, 56%, 41%)
CMYKcmyk(50.5%, 56.2%, 0%, 58.8%)
CIE-LABlab(22.67, 19.96, -33.84)
CIE-LCHlch(22.67, 39.28, 300.53°)
OKLaboklab(34.14% 0.0248 -0.0964)
OKLCHoklch(34.14% 0.1 284.4)
XYZxyz(4.9422, 3.7037, 13.8163)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E69 #63692E
analogous
#2E4669 #342E69 #522E69
triadic
#342E69 #69342E #2E6934
tetradic
#342E69 #692E46 #63692E #2E6952
square
#342E69 #692E46 #63692E #2E6952
split-complementary
#342E69 #69522E #46692E
monochromatic
#0B0915 #1F1B3E #342E69 #494194 #645AB7

Accessibility & contrast

On white

12.06
#342E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#342E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E69
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E69#FFFFFF#000000##FFFFFF
##342E691.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10386B
Deuteranopia (green-blind)
#0D3468
Tritanopia (blue-blind)
#223B46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #342e69;
/* rgb */ color: rgb(52, 46, 105);
/* oklch */ color: oklch(34.1% 0.100 284.4);
Tailwind
colors: {
  custom: {
    50: '#706694',
    500: '#342e69',
    950: '#000000',
  },
}
SCSS
$custom: #342e69;
$custom-light: #706694;
$custom-dark: #000000;
JSON
{
  "hex": "#342e69",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 105
  },
  "hsl": {
    "h": 246.102,
    "s": 39.073,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34141,
    "c": 0.09957,
    "h": 284.4
  },
  "luminance": 0.03704
}

Semantic roles & 50–950 ramp

primary
#342E69
secondary
#949B58
accent
#CF59C3
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #342E69

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

Preview Lab → · Contrast checker → · Palette generator →

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