#343C8E#343C8E

#343C8E is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.134 H 274.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#343C8E
RGBrgb(52, 60, 142)
HSLhsl(235, 46%, 38%)
HSVhsv(235, 63%, 56%)
CMYKcmyk(63.4%, 57.7%, 0%, 44.3%)
CIE-LABlab(29.19, 23.52, -46.65)
CIE-LCHlch(29.19, 52.24, 296.76°)
OKLaboklab(39.89% 0.0102 -0.134)
OKLCHoklch(39.89% 0.134 274.4)
XYZxyz(7.9129, 5.9141, 26.3105)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C8E #8E8634
analogous
#34698E #343C8E #59348E
triadic
#343C8E #8E343C #3C8E34
tetradic
#343C8E #8E3469 #8E8634 #348E59
square
#343C8E #8E3469 #8E8634 #348E59
split-complementary
#343C8E #8E5934 #698E34
monochromatic
#131634 #242961 #343C8E #444FBB #7179CB

Accessibility & contrast

On white

9.62
#343C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#343C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343C8E
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C8E#FFFFFF#000000##FFFFFF
##343C8E1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343c8e;
/* rgb */ color: rgb(52, 60, 142);
/* oklch */ color: oklch(39.9% 0.134 274.4);
Tailwind
colors: {
  custom: {
    50: '#7571b0',
    500: '#343c8e',
    950: '#000000',
  },
}
SCSS
$custom: #343c8e;
$custom-light: #7571b0;
$custom-dark: #000000;
JSON
{
  "hex": "#343c8e",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 234.667,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39885,
    "c": 0.13439,
    "h": 274.4
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#343C8E
secondary
#B3AD6A
accent
#CA52D6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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