#343A8D#343A8D

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

Color values

HEX#343A8D
RGBrgb(52, 58, 141)
HSLhsl(236, 46%, 38%)
HSVhsv(236, 63%, 55%)
CMYKcmyk(63.1%, 58.9%, 0%, 44.7%)
CIE-LABlab(28.59, 24.50, -47.02)
CIE-LCHlch(28.59, 53.02, 297.52°)
OKLaboklab(39.41% 0.0122 -0.1351)
OKLCHoklch(39.41% 0.136 275.2)
XYZxyz(7.7354, 5.6786, 25.8826)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A8D #8D8734
analogous
#34668D #343A8D #5A348D
triadic
#343A8D #8D343A #3A8D34
tetradic
#343A8D #8D3466 #8D8734 #348D5A
square
#343A8D #8D3466 #8D8734 #348D5A
split-complementary
#343A8D #8D5A34 #668D34
monochromatic
#131534 #242860 #343A8D #444CBA #7177CB

Accessibility & contrast

On white

9.83
#343A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343A8D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A8D#FFFFFF#000000##FFFFFF
##343A8D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #343a8d;
/* rgb */ color: rgb(52, 58, 141);
/* oklch */ color: oklch(39.4% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#7570af',
    500: '#343a8d',
    950: '#000000',
  },
}
SCSS
$custom: #343a8d;
$custom-light: #7570af;
$custom-dark: #000000;
JSON
{
  "hex": "#343a8d",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 141
  },
  "hsl": {
    "h": 235.955,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39408,
    "c": 0.13566,
    "h": 275.2
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#343A8D
secondary
#B3AE6A
accent
#CD52D6
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #343A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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