#343A71#343A71

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

Color values

HEX#343A71
RGBrgb(52, 58, 113)
HSLhsl(234, 37%, 32%)
HSVhsv(234, 54%, 44%)
CMYKcmyk(54%, 48.7%, 0%, 55.7%)
CIE-LABlab(26.59, 14.51, -32.69)
CIE-LCHlch(26.59, 35.77, 293.94°)
OKLaboklab(37.27% 0.0101 -0.093)
OKLCHoklch(37.27% 0.094 276.2)
XYZxyz(5.9089, 4.9481, 16.2633)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A71 #716B34
analogous
#345971 #343A71 #4C3471
triadic
#343A71 #71343A #3A7134
tetradic
#343A71 #713459 #716B34 #34714C
square
#343A71 #713459 #716B34 #34714C
split-complementary
#343A71 #714C34 #597134
monochromatic
#0D0F1D #212447 #343A71 #47509B #676FB9

Accessibility & contrast

On white

10.55
#343A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A71
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A71#FFFFFF#000000##FFFFFF
##343A711.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#1C3C70
Tritanopia (blue-blind)
#1A4650
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #343a71;
/* rgb */ color: rgb(52, 58, 113);
/* oklch */ color: oklch(37.3% 0.094 276.2);
Tailwind
colors: {
  custom: {
    50: '#70709a',
    500: '#343a71',
    950: '#000000',
  },
}
SCSS
$custom: #343a71;
$custom-light: #70709a;
$custom-dark: #000000;
JSON
{
  "hex": "#343a71",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 113
  },
  "hsl": {
    "h": 234.098,
    "s": 36.97,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.09352,
    "h": 276.2
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#343A71
secondary
#A19B60
accent
#C25BCD
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #343A71

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

Preview Lab → · Contrast checker → · Palette generator →

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