#343DAE#343DAE

#343DAE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.177 H 272.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#343DAE
RGBrgb(52, 61, 174)
HSLhsl(236, 54%, 44%)
HSVhsv(236, 70%, 68%)
CMYKcmyk(70.1%, 64.9%, 0%, 31.8%)
CIE-LABlab(32.08, 34.33, -61.34)
CIE-LCHlch(32.08, 70.29, 299.24°)
OKLaboklab(42.84% 0.0085 -0.1771)
OKLCHoklch(42.84% 0.177 272.8)
XYZxyz(10.7223, 7.1225, 40.8459)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DAE #AEA534
analogous
#347AAE #343DAE #6834AE
triadic
#343DAE #AE343D #3DAE34
tetradic
#343DAE #AE347A #AEA534 #34AE68
square
#343DAE #AE347A #AEA534 #34AE68
split-complementary
#343DAE #AE6834 #7AAE34
monochromatic
#181C50 #262C7F #343DAE #535CCC #8389DA

Accessibility & contrast

On white

8.66
#343DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#343DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DAE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DAE#FFFFFF#000000##FFFFFF
##343DAE1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343dae;
/* rgb */ color: rgb(52, 61, 174);
/* oklch */ color: oklch(42.8% 0.177 272.8);
Tailwind
colors: {
  custom: {
    50: '#7c72c7',
    500: '#343dae',
    950: '#000000',
  },
}
SCSS
$custom: #343dae;
$custom-light: #7c72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#343dae",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 235.574,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.17734,
    "h": 272.8
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#343DAE
secondary
#C3BE7B
accent
#D34ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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