#343B9D#343B9D

#343B9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.157 H 274.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#343B9D
RGBrgb(52, 59, 157)
HSLhsl(236, 50%, 41%)
HSVhsv(236, 67%, 62%)
CMYKcmyk(66.9%, 62.4%, 0%, 38.4%)
CIE-LABlab(30.14, 29.57, -54.29)
CIE-LCHlch(30.14, 61.82, 298.58°)
OKLaboklab(40.96% 0.011 -0.1565)
OKLCHoklch(40.96% 0.157 274)
XYZxyz(9.0639, 6.2915, 32.6285)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B9D #9D9634
analogous
#346F9D #343B9D #61349D
triadic
#343B9D #9D343B #3B9D34
tetradic
#343B9D #9D346F #9D9634 #349D61
square
#343B9D #9D346F #9D9634 #349D61
split-complementary
#343B9D #9D6134 #6F9D34
monochromatic
#161841 #252A6F #343B9D #4B53C3 #797FD3

Accessibility & contrast

On white

9.30
#343B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#343B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B9D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B9D#FFFFFF#000000##FFFFFF
##343B9D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343b9d;
/* rgb */ color: rgb(52, 59, 157);
/* oklch */ color: oklch(41.0% 0.157 274.0);
Tailwind
colors: {
  custom: {
    50: '#7971bb',
    500: '#343b9d',
    950: '#000000',
  },
}
SCSS
$custom: #343b9d;
$custom-light: #7971bb;
$custom-dark: #000000;
JSON
{
  "hex": "#343b9d",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 157
  },
  "hsl": {
    "h": 236,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.15687,
    "h": 274
  },
  "luminance": 0.06292
}

Semantic roles & 50–950 ramp

primary
#343B9D
secondary
#BBB672
accent
#D04EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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