#34394F#34394F

#34394F is a dark, muted blue. Relative luminance 0.042; OKLCH L 35.0% C 0.039 H 274.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#34394F
RGBrgb(52, 57, 79)
HSLhsl(229, 21%, 26%)
HSVhsv(229, 34%, 31%)
CMYKcmyk(34.2%, 27.8%, 0%, 69%)
CIE-LABlab(24.39, 3.94, -14.08)
CIE-LCHlch(24.39, 14.62, 285.63°)
OKLaboklab(34.96% 0.0029 -0.0389)
OKLCHoklch(34.96% 0.039 274.3)
XYZxyz(4.2902, 4.2207, 7.9843)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34394F #4F4A34
analogous
#34464F #34394F #3C344F
triadic
#34394F #4F3439 #394F34
tetradic
#34394F #4F3446 #4F4A34 #344F3C
square
#34394F #4F3446 #4F4A34 #344F3C
split-complementary
#34394F #4F3C34 #464F34
monochromatic
#0C0D12 #1C1E2A #34394F #4C5474 #656E99

Accessibility & contrast

On white

11.39
#34394F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#34394F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34394F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34394F#FFFFFF#000000##FFFFFF
##34394F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323B50
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#2D3D41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #34394f;
/* rgb */ color: rgb(52, 57, 79);
/* oklch */ color: oklch(35.0% 0.039 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c6f80',
    500: '#34394f',
    950: '#000000',
  },
}
SCSS
$custom: #34394f;
$custom-light: #6c6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#34394f",
  "rgb": {
    "r": 52,
    "g": 57,
    "b": 79
  },
  "hsl": {
    "h": 228.889,
    "s": 20.611,
    "l": 25.686
  },
  "oklch": {
    "l": 0.34958,
    "c": 0.03905,
    "h": 274.3
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#34394F
secondary
#7F7A5F
accent
#AE6BBD
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #34394F

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

Preview Lab → · Contrast checker → · Palette generator →

#34394F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva