#343C8A#343C8A

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

Color values

HEX#343C8A
RGBrgb(52, 60, 138)
HSLhsl(234, 45%, 37%)
HSVhsv(234, 62%, 54%)
CMYKcmyk(62.3%, 56.5%, 0%, 45.9%)
CIE-LABlab(28.89, 22.08, -44.67)
CIE-LCHlch(28.89, 49.83, 296.30°)
OKLaboklab(39.56% 0.0101 -0.1282)
OKLCHoklch(39.56% 0.129 274.5)
XYZxyz(7.6180, 5.7962, 24.7572)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C8A #8A8234
analogous
#34678A #343C8A #57348A
triadic
#343C8A #8A343C #3C8A34
tetradic
#343C8A #8A3467 #8A8234 #348A57
square
#343C8A #8A3467 #8A8234 #348A57
split-complementary
#343C8A #8A5734 #678A34
monochromatic
#131531 #23295E #343C8A #454FB6 #6F78C9

Accessibility & contrast

On white

9.72
#343C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343C8A
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C8A#FFFFFF#000000##FFFFFF
##343C8A1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #343c8a;
/* rgb */ color: rgb(52, 60, 138);
/* oklch */ color: oklch(39.6% 0.129 274.5);
Tailwind
colors: {
  custom: {
    50: '#7571ad',
    500: '#343c8a',
    950: '#000000',
  },
}
SCSS
$custom: #343c8a;
$custom-light: #7571ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343c8a",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 234.419,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39563,
    "c": 0.12858,
    "h": 274.5
  },
  "luminance": 0.05797
}

Semantic roles & 50–950 ramp

primary
#343C8A
secondary
#B1AA69
accent
#C953D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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