#343A72#343A72

#343A72 is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.095 H 276.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#343A72
RGBrgb(52, 58, 114)
HSLhsl(234, 37%, 33%)
HSVhsv(234, 54%, 45%)
CMYKcmyk(54.4%, 49.1%, 0%, 55.3%)
CIE-LABlab(26.65, 14.86, -33.22)
CIE-LCHlch(26.65, 36.40, 294.10°)
OKLaboklab(37.34% 0.0102 -0.0945)
OKLCHoklch(37.34% 0.095 276.2)
XYZxyz(5.9655, 4.9707, 16.5614)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A72 #726C34
analogous
#345972 #343A72 #4D3472
triadic
#343A72 #72343A #3A7234
tetradic
#343A72 #723459 #726C34 #34724D
square
#343A72 #723459 #726C34 #34724D
split-complementary
#343A72 #724D34 #597234
monochromatic
#0E0F1E #212548 #343A72 #474F9C #676FBA

Accessibility & contrast

On white

10.53
#343A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#343A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A72
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A72#FFFFFF#000000##FFFFFF
##343A721.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#194650
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #343a72;
/* rgb */ color: rgb(52, 58, 114);
/* oklch */ color: oklch(37.3% 0.095 276.2);
Tailwind
colors: {
  custom: {
    50: '#70709b',
    500: '#343a72',
    950: '#000000',
  },
}
SCSS
$custom: #343a72;
$custom-light: #70709b;
$custom-dark: #000000;
JSON
{
  "hex": "#343a72",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 114
  },
  "hsl": {
    "h": 234.194,
    "s": 37.349,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37337,
    "c": 0.09509,
    "h": 276.2
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#343A72
secondary
#A29B60
accent
#C25ACD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343A72

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

Preview Lab → · Contrast checker → · Palette generator →

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