#343C8D#343C8D

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

Color values

HEX#343C8D
RGBrgb(52, 60, 141)
HSLhsl(235, 46%, 38%)
HSVhsv(235, 63%, 55%)
CMYKcmyk(63.1%, 57.4%, 0%, 44.7%)
CIE-LABlab(29.12, 23.16, -46.16)
CIE-LCHlch(29.12, 51.64, 296.65°)
OKLaboklab(39.8% 0.0102 -0.1325)
OKLCHoklch(39.8% 0.133 274.4)
XYZxyz(7.8382, 5.8842, 25.9169)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343C8D #8D8534
analogous
#34688D #343C8D #59348D
triadic
#343C8D #8D343C #3C8D34
tetradic
#343C8D #8D3468 #8D8534 #348D59
square
#343C8D #8D3468 #8D8534 #348D59
split-complementary
#343C8D #8D5934 #688D34
monochromatic
#131634 #242960 #343C8D #444FBA #7179CB

Accessibility & contrast

On white

9.65
#343C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343C8D
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343C8D#FFFFFF#000000##FFFFFF
##343C8D1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343c8d;
/* rgb */ color: rgb(52, 60, 141);
/* oklch */ color: oklch(39.8% 0.133 274.4);
Tailwind
colors: {
  custom: {
    50: '#7571af',
    500: '#343c8d',
    950: '#000000',
  },
}
SCSS
$custom: #343c8d;
$custom-light: #7571af;
$custom-dark: #000000;
JSON
{
  "hex": "#343c8d",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 234.607,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39804,
    "c": 0.13294,
    "h": 274.4
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#343C8D
secondary
#B3AC6A
accent
#CA52D6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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