#343E72#343E72

#343E72 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.089 H 273.3°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#343E72
RGBrgb(52, 62, 114)
HSLhsl(230, 37%, 33%)
HSVhsv(230, 54%, 45%)
CMYKcmyk(54.4%, 45.6%, 0%, 55.3%)
CIE-LABlab(27.82, 12.14, -31.36)
CIE-LCHlch(27.82, 33.63, 291.15°)
OKLaboklab(38.22% 0.0051 -0.089)
OKLCHoklch(38.22% 0.089 273.3)
XYZxyz(6.1751, 5.3898, 16.6313)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E72 #726834
analogous
#345D72 #343E72 #493472
triadic
#343E72 #72343E #3E7234
tetradic
#343E72 #72345D #726834 #347249
square
#343E72 #72345D #726834 #347249
split-complementary
#343E72 #724934 #5D7234
monochromatic
#0E101E #212748 #343E72 #47559C #6774BA

Accessibility & contrast

On white

10.11
#343E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#343E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E72
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E72#FFFFFF#000000##FFFFFF
##343E721.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284474
Deuteranopia (green-blind)
#223F71
Tritanopia (blue-blind)
#184952
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #343e72;
/* rgb */ color: rgb(52, 62, 114);
/* oklch */ color: oklch(38.2% 0.089 273.3);
Tailwind
colors: {
  custom: {
    50: '#70739b',
    500: '#343e72',
    950: '#000000',
  },
}
SCSS
$custom: #343e72;
$custom-light: #70739b;
$custom-dark: #000000;
JSON
{
  "hex": "#343e72",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 114
  },
  "hsl": {
    "h": 230.323,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38225,
    "c": 0.08919,
    "h": 273.3
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#343E72
secondary
#A29760
accent
#BB5ACD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #343E72

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

Preview Lab → · Contrast checker → · Palette generator →

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