#343D8B#343D8B

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

Color values

HEX#343D8B
RGBrgb(52, 61, 139)
HSLhsl(234, 46%, 37%)
HSVhsv(234, 63%, 55%)
CMYKcmyk(62.6%, 56.1%, 0%, 45.5%)
CIE-LABlab(29.24, 21.77, -44.73)
CIE-LCHlch(29.24, 49.74, 295.95°)
OKLaboklab(39.85% 0.0091 -0.1283)
OKLCHoklch(39.85% 0.129 274.1)
XYZxyz(7.7436, 5.9310, 25.1578)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D8B #8B8234
analogous
#34698B #343D8B #56348B
triadic
#343D8B #8B343D #3D8B34
tetradic
#343D8B #8B3469 #8B8234 #348B56
square
#343D8B #8B3469 #8B8234 #348B56
split-complementary
#343D8B #8B5634 #698B34
monochromatic
#131632 #23295E #343D8B #4551B8 #7079C9

Accessibility & contrast

On white

9.60
#343D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#343D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D8B
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D8B#FFFFFF#000000##FFFFFF
##343D8B1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05498E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343d8b;
/* rgb */ color: rgb(52, 61, 139);
/* oklch */ color: oklch(39.8% 0.129 274.1);
Tailwind
colors: {
  custom: {
    50: '#7572ad',
    500: '#343d8b',
    950: '#000000',
  },
}
SCSS
$custom: #343d8b;
$custom-light: #7572ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343d8b",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 233.793,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39845,
    "c": 0.12866,
    "h": 274.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#343D8B
secondary
#B2AA69
accent
#C853D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #343D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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