#343D8D#343D8D

#343D8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.132 H 274.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#343D8D
RGBrgb(52, 61, 141)
HSLhsl(234, 46%, 38%)
HSVhsv(234, 63%, 55%)
CMYKcmyk(63.1%, 56.7%, 0%, 44.7%)
CIE-LABlab(29.39, 22.49, -45.72)
CIE-LCHlch(29.39, 50.95, 296.19°)
OKLaboklab(40.01% 0.0092 -0.1313)
OKLCHoklch(40.01% 0.132 274)
XYZxyz(7.8911, 5.9900, 25.9345)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D8D #8D8434
analogous
#34698D #343D8D #58348D
triadic
#343D8D #8D343D #3D8D34
tetradic
#343D8D #8D3469 #8D8434 #348D58
square
#343D8D #8D3469 #8D8434 #348D58
split-complementary
#343D8D #8D5834 #698D34
monochromatic
#131634 #242A60 #343D8D #4450BA #717ACB

Accessibility & contrast

On white

9.55
#343D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#343D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D8D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D8D#FFFFFF#000000##FFFFFF
##343D8D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343d8d;
/* rgb */ color: rgb(52, 61, 141);
/* oklch */ color: oklch(40.0% 0.132 274.0);
Tailwind
colors: {
  custom: {
    50: '#7572af',
    500: '#343d8d',
    950: '#000000',
  },
}
SCSS
$custom: #343d8d;
$custom-light: #7572af;
$custom-dark: #000000;
JSON
{
  "hex": "#343d8d",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 233.933,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40005,
    "c": 0.13158,
    "h": 274
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#343D8D
secondary
#B3AB6A
accent
#C852D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #343D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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