#343C8B#343C8B

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

Color values

HEX#343C8B
RGBrgb(52, 60, 139)
HSLhsl(234, 46%, 37%)
HSVhsv(234, 63%, 55%)
CMYKcmyk(62.6%, 56.8%, 0%, 45.5%)
CIE-LABlab(28.97, 22.44, -45.17)
CIE-LCHlch(28.97, 50.43, 296.42°)
OKLaboklab(39.64% 0.0101 -0.1296)
OKLCHoklch(39.64% 0.13 274.5)
XYZxyz(7.6907, 5.8253, 25.1402)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C8B #8B8334
analogous
#34678B #343C8B #58348B
triadic
#343C8B #8B343C #3C8B34
tetradic
#343C8B #8B3467 #8B8334 #348B58
square
#343C8B #8B3467 #8B8334 #348B58
split-complementary
#343C8B #8B5834 #678B34
monochromatic
#131632 #23295E #343C8B #454FB8 #7078C9

Accessibility & contrast

On white

9.70
#343C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#343C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C8B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C8B#FFFFFF#000000##FFFFFF
##343C8B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #343c8b;
/* rgb */ color: rgb(52, 60, 139);
/* oklch */ color: oklch(39.6% 0.130 274.5);
Tailwind
colors: {
  custom: {
    50: '#7571ad',
    500: '#343c8b',
    950: '#000000',
  },
}
SCSS
$custom: #343c8b;
$custom-light: #7571ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343c8b",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 234.483,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39643,
    "c": 0.13004,
    "h": 274.5
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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