#343C72#343C72

#343C72 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.8% C 0.092 H 274.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#343C72
RGBrgb(52, 60, 114)
HSLhsl(232, 37%, 33%)
HSVhsv(232, 54%, 45%)
CMYKcmyk(54.4%, 47.4%, 0%, 55.3%)
CIE-LABlab(27.23, 13.50, -32.30)
CIE-LCHlch(27.23, 35.00, 292.68°)
OKLaboklab(37.78% 0.0077 -0.0918)
OKLCHoklch(37.78% 0.092 274.8)
XYZxyz(6.0683, 5.1763, 16.5957)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C72 #726A34
analogous
#345B72 #343C72 #4B3472
triadic
#343C72 #72343C #3C7234
tetradic
#343C72 #72345B #726A34 #34724B
square
#343C72 #72345B #726A34 #34724B
split-complementary
#343C72 #724B34 #5B7234
monochromatic
#0E101E #212648 #343C72 #47529C #6771BA

Accessibility & contrast

On white

10.32
#343C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#343C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C72
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C72#FFFFFF#000000##FFFFFF
##343C721.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254374
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#194851
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #343c72;
/* rgb */ color: rgb(52, 60, 114);
/* oklch */ color: oklch(37.8% 0.092 274.8);
Tailwind
colors: {
  custom: {
    50: '#70719b',
    500: '#343c72',
    950: '#000000',
  },
}
SCSS
$custom: #343c72;
$custom-light: #70719b;
$custom-dark: #000000;
JSON
{
  "hex": "#343c72",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 114
  },
  "hsl": {
    "h": 232.258,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37778,
    "c": 0.09212,
    "h": 274.8
  },
  "luminance": 0.05177
}

Semantic roles & 50–950 ramp

primary
#343C72
secondary
#A29960
accent
#BF5ACD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343C72

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

Preview Lab → · Contrast checker → · Palette generator →

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