#342F69#342F69

#342F69 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.098 H 283.9°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#342F69
RGBrgb(52, 47, 105)
HSLhsl(245, 38%, 30%)
HSVhsv(245, 55%, 41%)
CMYKcmyk(50.5%, 55.2%, 0%, 58.8%)
CIE-LABlab(22.94, 19.27, -33.40)
CIE-LCHlch(22.94, 38.56, 299.99°)
OKLaboklab(34.35% 0.0235 -0.0951)
OKLCHoklch(34.35% 0.098 283.9)
XYZxyz(4.9817, 3.7828, 13.8295)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342F69 #64692F
analogous
#2F4769 #342F69 #512F69
triadic
#342F69 #69342F #2F6934
tetradic
#342F69 #692F47 #64692F #2F6951
square
#342F69 #692F47 #64692F #2F6951
split-complementary
#342F69 #69512F #47692F
monochromatic
#0A0915 #1F1C3F #342F69 #494293 #645CB6

Accessibility & contrast

On white

11.95
#342F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#342F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342F69
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342F69#FFFFFF#000000##FFFFFF
##342F691.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12396B
Deuteranopia (green-blind)
#0F3568
Tritanopia (blue-blind)
#223C47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #342f69;
/* rgb */ color: rgb(52, 47, 105);
/* oklch */ color: oklch(34.3% 0.098 283.9);
Tailwind
colors: {
  custom: {
    50: '#706794',
    500: '#342f69',
    950: '#000000',
  },
}
SCSS
$custom: #342f69;
$custom-light: #706794;
$custom-dark: #000000;
JSON
{
  "hex": "#342f69",
  "rgb": {
    "r": 52,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 245.172,
    "s": 38.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34345,
    "c": 0.09798,
    "h": 283.9
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#342F69
secondary
#959A59
accent
#CE5AC4
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#08060D
muted
#7B7A7E

Preview Lab

Preview with #342F69

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

Preview Lab → · Contrast checker → · Palette generator →

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