#342E73#342E73

#342E73 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.9% C 0.115 H 282.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#342E73
RGBrgb(52, 46, 115)
HSLhsl(245, 43%, 32%)
HSVhsv(245, 60%, 45%)
CMYKcmyk(54.8%, 60%, 0%, 54.9%)
CIE-LABlab(23.41, 23.37, -39.07)
CIE-LCHlch(23.41, 45.53, 300.88°)
OKLaboklab(34.93% 0.0251 -0.1118)
OKLCHoklch(34.93% 0.115 282.6)
XYZxyz(5.4867, 3.9216, 16.6842)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342E73 #6D732E
analogous
#2E4B73 #342E73 #572E73
triadic
#342E73 #73342E #2E7334
tetradic
#342E73 #732E4B #6D732E #2E7357
square
#342E73 #732E4B #6D732E #2E7357
split-complementary
#342E73 #73572E #4B732E
monochromatic
#0C0B1C #201D47 #342E73 #483F9F #665DBE

Accessibility & contrast

On white

11.77
#342E73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#342E73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342E73
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342E73#FFFFFF#000000##FFFFFF
##342E731.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#1A3E4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #342e73;
/* rgb */ color: rgb(52, 46, 115);
/* oklch */ color: oklch(34.9% 0.115 282.6);
Tailwind
colors: {
  custom: {
    50: '#71679c',
    500: '#342e73',
    950: '#000000',
  },
}
SCSS
$custom: #342e73;
$custom-light: #71679c;
$custom-dark: #000000;
JSON
{
  "hex": "#342e73",
  "rgb": {
    "r": 52,
    "g": 46,
    "b": 115
  },
  "hsl": {
    "h": 245.217,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3493,
    "c": 0.11461,
    "h": 282.6
  },
  "luminance": 0.03922
}

Semantic roles & 50–950 ramp

primary
#342E73
secondary
#9EA458
accent
#D355C8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #342E73

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

Preview Lab → · Contrast checker → · Palette generator →

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