#343B8D#343B8D

#343B8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.134 H 274.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#343B8D
RGBrgb(52, 59, 141)
HSLhsl(235, 46%, 38%)
HSVhsv(235, 63%, 55%)
CMYKcmyk(63.1%, 58.2%, 0%, 44.7%)
CIE-LABlab(28.85, 23.83, -46.59)
CIE-LCHlch(28.85, 52.33, 297.09°)
OKLaboklab(39.61% 0.0112 -0.1338)
OKLCHoklch(39.61% 0.134 274.8)
XYZxyz(7.7863, 5.7805, 25.8996)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B8D #8D8634
analogous
#34678D #343B8D #59348D
triadic
#343B8D #8D343B #3B8D34
tetradic
#343B8D #8D3467 #8D8634 #348D59
square
#343B8D #8D3467 #8D8634 #348D59
split-complementary
#343B8D #8D5934 #678D34
monochromatic
#131634 #242860 #343B8D #444EBA #7178CB

Accessibility & contrast

On white

9.74
#343B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#343B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B8D
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B8D#FFFFFF#000000##FFFFFF
##343B8D1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #343b8d;
/* rgb */ color: rgb(52, 59, 141);
/* oklch */ color: oklch(39.6% 0.134 274.8);
Tailwind
colors: {
  custom: {
    50: '#7570af',
    500: '#343b8d',
    950: '#000000',
  },
}
SCSS
$custom: #343b8d;
$custom-light: #7570af;
$custom-dark: #000000;
JSON
{
  "hex": "#343b8d",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 141
  },
  "hsl": {
    "h": 235.281,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.13431,
    "h": 274.8
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#343B8D
secondary
#B3AD6A
accent
#CB52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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