#343A4E#343A4E

#343A4E is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.2% C 0.036 H 271.5°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#343A4E
RGBrgb(52, 58, 78)
HSLhsl(226, 20%, 25%)
HSVhsv(226, 33%, 31%)
CMYKcmyk(33.3%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.66, 2.96, -13.00)
CIE-LCHlch(24.66, 13.33, 282.84°)
OKLaboklab(35.15% 0.001 -0.0359)
OKLCHoklch(35.15% 0.036 271.5)
XYZxyz(4.3040, 4.3061, 7.8106)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A4E #4E4834
analogous
#34474E #343A4E #3B344E
triadic
#343A4E #4E343A #3A4E34
tetradic
#343A4E #4E3447 #4E4834 #344E3B
square
#343A4E #4E3447 #4E4834 #344E3B
split-complementary
#343A4E #4E3B34 #474E34
monochromatic
#0C0E12 #1C1F29 #343A4E #4C5573 #657197

Accessibility & contrast

On white

11.28
#343A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#343A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A4E
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A4E#FFFFFF#000000##FFFFFF
##343A4E1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343C4F
Deuteranopia (green-blind)
#323A4E
Tritanopia (blue-blind)
#2D3E41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #343a4e;
/* rgb */ color: rgb(52, 58, 78);
/* oklch */ color: oklch(35.2% 0.036 271.5);
Tailwind
colors: {
  custom: {
    50: '#6c707f',
    500: '#343a4e',
    950: '#000000',
  },
}
SCSS
$custom: #343a4e;
$custom-light: #6c707f;
$custom-dark: #000000;
JSON
{
  "hex": "#343a4e",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 226.154,
    "s": 20,
    "l": 25.49
  },
  "oklch": {
    "l": 0.35154,
    "c": 0.03589,
    "h": 271.5
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#343A4E
secondary
#7E775F
accent
#AA6BBD
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #343A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#343A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva