#343852#343852

#343852 is a dark, muted blue. Relative luminance 0.042; OKLCH L 34.9% C 0.046 H 277.0°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#343852
RGBrgb(52, 56, 82)
HSLhsl(232, 22%, 26%)
HSVhsv(232, 37%, 32%)
CMYKcmyk(36.6%, 31.7%, 0%, 67.8%)
CIE-LABlab(24.22, 5.54, -16.32)
CIE-LCHlch(24.22, 17.24, 288.74°)
OKLaboklab(34.87% 0.0056 -0.0454)
OKLCHoklch(34.87% 0.046 277)
XYZxyz(4.3529, 4.1675, 8.5561)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343852 #524E34
analogous
#344752 #343852 #3F3452
triadic
#343852 #523438 #385234
tetradic
#343852 #523447 #524E34 #34523F
square
#343852 #523447 #524E34 #34523F
split-complementary
#343852 #523F34 #475234
monochromatic
#0C0D13 #1C1E2D #343852 #4C5277 #646B9D

Accessibility & contrast

On white

11.45
#343852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#343852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343852
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343852#FFFFFF#000000##FFFFFF
##3438521.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303B53
Deuteranopia (green-blind)
#2E3851
Tritanopia (blue-blind)
#2C3D41
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #343852;
/* rgb */ color: rgb(52, 56, 82);
/* oklch */ color: oklch(34.9% 0.046 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c6e82',
    500: '#343852',
    950: '#000000',
  },
}
SCSS
$custom: #343852;
$custom-light: #6c6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#343852",
  "rgb": {
    "r": 52,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 232,
    "s": 22.388,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34873,
    "c": 0.0457,
    "h": 277
  },
  "luminance": 0.04168
}

Semantic roles & 50–950 ramp

primary
#343852
secondary
#837E5F
accent
#B369BF
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #343852

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

Preview Lab → · Contrast checker → · Palette generator →

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