#343DAA#343DAA

#343DAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.172 H 272.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#343DAA
RGBrgb(52, 61, 170)
HSLhsl(235, 53%, 44%)
HSVhsv(235, 69%, 67%)
CMYKcmyk(69.4%, 64.1%, 0%, 33.3%)
CIE-LABlab(31.74, 32.92, -59.52)
CIE-LCHlch(31.74, 68.01, 298.94°)
OKLaboklab(42.48% 0.0088 -0.1718)
OKLCHoklch(42.48% 0.172 272.9)
XYZxyz(10.3382, 6.9689, 38.8227)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DAA #AAA134
analogous
#3478AA #343DAA #6634AA
triadic
#343DAA #AA343D #3DAA34
tetradic
#343DAA #AA3478 #AAA134 #34AA66
square
#343DAA #AA3478 #AAA134 #34AA66
split-complementary
#343DAA #AA6634 #78AA34
monochromatic
#171B4C #262C7B #343DAA #515BCA #8087D8

Accessibility & contrast

On white

8.77
#343DAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#343DAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DAA
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DAA#FFFFFF#000000##FFFFFF
##343DAA1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343daa;
/* rgb */ color: rgb(52, 61, 170);
/* oklch */ color: oklch(42.5% 0.172 272.9);
Tailwind
colors: {
  custom: {
    50: '#7b72c4',
    500: '#343daa',
    950: '#000000',
  },
}
SCSS
$custom: #343daa;
$custom-light: #7b72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343daa",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 170
  },
  "hsl": {
    "h": 235.424,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42478,
    "c": 0.17201,
    "h": 272.9
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#343DAA
secondary
#C1BC78
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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