#343151#343151

#343151 is a dark, muted blue. Relative luminance 0.035; OKLCH L 33.2% C 0.056 H 287.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#343151
RGBrgb(52, 49, 81)
HSLhsl(246, 25%, 25%)
HSVhsv(246, 40%, 32%)
CMYKcmyk(35.8%, 39.5%, 0%, 68.2%)
CIE-LABlab(22.02, 10.03, -19.09)
CIE-LCHlch(22.02, 21.56, 297.73°)
OKLaboklab(33.16% 0.0165 -0.0533)
OKLCHoklch(33.16% 0.056 287.2)
XYZxyz(3.9993, 3.5207, 8.2518)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343151 #4E5131
analogous
#313E51 #343151 #443151
triadic
#343151 #513431 #315134
tetradic
#343151 #51313E #4E5131 #315144
square
#343151 #51313E #4E5131 #315144
split-complementary
#343151 #514431 #3E5131
monochromatic
#0C0C13 #1C1A2B #343151 #4C4877 #655F9D

Accessibility & contrast

On white

12.32
#343151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#343151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343151
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343151#FFFFFF#000000##FFFFFF
##3431511.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273652
Deuteranopia (green-blind)
#273450
Tritanopia (blue-blind)
#2D373D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #343151;
/* rgb */ color: rgb(52, 49, 81);
/* oklch */ color: oklch(33.2% 0.056 287.2);
Tailwind
colors: {
  custom: {
    50: '#6c6982',
    500: '#343151',
    950: '#000000',
  },
}
SCSS
$custom: #343151;
$custom-light: #6c6982;
$custom-dark: #000000;
JSON
{
  "hex": "#343151",
  "rgb": {
    "r": 52,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 245.625,
    "s": 24.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33162,
    "c": 0.05582,
    "h": 287.2
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#343151
secondary
#7E825C
accent
#C167B9
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #343151

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

Preview Lab → · Contrast checker → · Palette generator →

#343151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva