#343B8A#343B8A

#343B8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.130 H 274.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#343B8A
RGBrgb(52, 59, 138)
HSLhsl(235, 45%, 37%)
HSVhsv(235, 62%, 54%)
CMYKcmyk(62.3%, 57.2%, 0%, 45.9%)
CIE-LABlab(28.62, 22.75, -45.11)
CIE-LCHlch(28.62, 50.52, 296.76°)
OKLaboklab(39.36% 0.0111 -0.1295)
OKLCHoklch(39.36% 0.13 274.9)
XYZxyz(7.5661, 5.6924, 24.7399)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B8A #8A8334
analogous
#34668A #343B8A #58348A
triadic
#343B8A #8A343B #3B8A34
tetradic
#343B8A #8A3466 #8A8334 #348A58
square
#343B8A #8A3466 #8A8334 #348A58
split-complementary
#343B8A #8A5834 #668A34
monochromatic
#131531 #23285E #343B8A #454EB6 #6F77C9

Accessibility & contrast

On white

9.82
#343B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#343B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B8A
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B8A#FFFFFF#000000##FFFFFF
##343B8A1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343b8a;
/* rgb */ color: rgb(52, 59, 138);
/* oklch */ color: oklch(39.4% 0.130 274.9);
Tailwind
colors: {
  custom: {
    50: '#7570ad',
    500: '#343b8a',
    950: '#000000',
  },
}
SCSS
$custom: #343b8a;
$custom-light: #7570ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343b8a",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 235.116,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.12995,
    "h": 274.9
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#343B8A
secondary
#B1AB69
accent
#CA53D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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