#342F67#342F67

#342F67 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.095 H 284.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#342F67
RGBrgb(52, 47, 103)
HSLhsl(245, 37%, 29%)
HSVhsv(245, 54%, 40%)
CMYKcmyk(49.5%, 54.4%, 0%, 59.6%)
CIE-LABlab(22.80, 18.60, -32.32)
CIE-LCHlch(22.80, 37.29, 299.91°)
OKLaboklab(34.2% 0.0233 -0.092)
OKLCHoklch(34.2% 0.095 284.2)
XYZxyz(4.8801, 3.7421, 13.2945)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F67 #62672F
analogous
#2F4667 #342F67 #502F67
triadic
#342F67 #67342F #2F6734
tetradic
#342F67 #672F46 #62672F #2F6750
square
#342F67 #672F46 #62672F #2F6750
split-complementary
#342F67 #67502F #46672F
monochromatic
#0B0A15 #1F1C3D #342F67 #494291 #645CB5

Accessibility & contrast

On white

12.01
#342F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#342F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F67
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F67#FFFFFF#000000##FFFFFF
##342F671.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153869
Deuteranopia (green-blind)
#123566
Tritanopia (blue-blind)
#233B46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #342f67;
/* rgb */ color: rgb(52, 47, 103);
/* oklch */ color: oklch(34.2% 0.095 284.2);
Tailwind
colors: {
  custom: {
    50: '#6f6793',
    500: '#342f67',
    950: '#000000',
  },
}
SCSS
$custom: #342f67;
$custom-light: #6f6793;
$custom-dark: #000000;
JSON
{
  "hex": "#342f67",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 245.357,
    "s": 37.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.09489,
    "h": 284.2
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

primary
#342F67
secondary
#939859
accent
#CD5AC3
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #342F67

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

Preview Lab → · Contrast checker → · Palette generator →

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