#343D8A#343D8A

#343D8A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.127 H 274.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#343D8A
RGBrgb(52, 61, 138)
HSLhsl(234, 45%, 37%)
HSVhsv(234, 62%, 54%)
CMYKcmyk(62.3%, 55.8%, 0%, 45.9%)
CIE-LABlab(29.16, 21.41, -44.23)
CIE-LCHlch(29.16, 49.14, 295.82°)
OKLaboklab(39.77% 0.0091 -0.1269)
OKLCHoklch(39.77% 0.127 274.1)
XYZxyz(7.6709, 5.9019, 24.7748)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D8A #8A8134
analogous
#34688A #343D8A #56348A
triadic
#343D8A #8A343D #3D8A34
tetradic
#343D8A #8A3468 #8A8134 #348A56
square
#343D8A #8A3468 #8A8134 #348A56
split-complementary
#343D8A #8A5634 #688A34
monochromatic
#131631 #23295E #343D8A #4551B6 #6F79C9

Accessibility & contrast

On white

9.63
#343D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#343D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D8A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D8A#FFFFFF#000000##FFFFFF
##343D8A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#004188
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343d8a;
/* rgb */ color: rgb(52, 61, 138);
/* oklch */ color: oklch(39.8% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#7572ad',
    500: '#343d8a',
    950: '#000000',
  },
}
SCSS
$custom: #343d8a;
$custom-light: #7572ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343d8a",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 233.721,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39766,
    "c": 0.1272,
    "h": 274.1
  },
  "luminance": 0.05903
}

Semantic roles & 50–950 ramp

primary
#343D8A
secondary
#B1A969
accent
#C753D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #343D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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