#342B69#342B69

#342B69 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.5% C 0.104 H 286.0°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#342B69
RGBrgb(52, 43, 105)
HSLhsl(249, 42%, 29%)
HSVhsv(249, 59%, 41%)
CMYKcmyk(50.5%, 59%, 0%, 58.8%)
CIE-LABlab(21.86, 21.99, -35.13)
CIE-LCHlch(21.86, 41.44, 302.04°)
OKLaboklab(33.54% 0.0287 -0.1003)
OKLCHoklch(33.54% 0.104 286)
XYZxyz(4.8291, 3.4775, 13.7786)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342B69 #60692B
analogous
#2B4169 #342B69 #532B69
triadic
#342B69 #69342B #2B6934
tetradic
#342B69 #692B41 #60692B #2B6953
square
#342B69 #692B41 #60692B #2B6953
split-complementary
#342B69 #69532B #41692B
monochromatic
#0B0916 #1E193E #342B69 #4A3D94 #6455B9

Accessibility & contrast

On white

12.38
#342B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #342B69
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342B69#FFFFFF#000000##FFFFFF
##342B691.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366B
Deuteranopia (green-blind)
#043368
Tritanopia (blue-blind)
#223945
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #342b69;
/* rgb */ color: rgb(52, 43, 105);
/* oklch */ color: oklch(33.5% 0.104 286.0);
Tailwind
colors: {
  custom: {
    50: '#706494',
    500: '#342b69',
    950: '#000000',
  },
}
SCSS
$custom: #342b69;
$custom-light: #706494;
$custom-dark: #000000;
JSON
{
  "hex": "#342b69",
  "rgb": {
    "r": 52,
    "g": 43,
    "b": 105
  },
  "hsl": {
    "h": 248.71,
    "s": 41.892,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33543,
    "c": 0.10427,
    "h": 286
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#342B69
secondary
#919B55
accent
#D256C0
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08050D
muted
#7B7A7E

Preview Lab

Preview with #342B69

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

Preview Lab → · Contrast checker → · Palette generator →

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