#343DA7#343DA7

#343DA7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.168 H 273.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#343DA7
RGBrgb(52, 61, 167)
HSLhsl(235, 53%, 43%)
HSVhsv(235, 69%, 65%)
CMYKcmyk(68.9%, 63.5%, 0%, 34.5%)
CIE-LABlab(31.48, 31.85, -58.14)
CIE-LCHlch(31.48, 66.29, 298.71°)
OKLaboklab(42.21% 0.009 -0.1677)
OKLCHoklch(42.21% 0.168 273.1)
XYZxyz(10.0576, 6.8566, 37.3452)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DA7 #A79E34
analogous
#3477A7 #343DA7 #6434A7
triadic
#343DA7 #A7343D #3DA734
tetradic
#343DA7 #A73477 #A79E34 #34A764
square
#343DA7 #A73477 #A79E34 #34A764
split-complementary
#343DA7 #A76434 #77A734
monochromatic
#171B4A #252C78 #343DA7 #5059C8 #7E85D7

Accessibility & contrast

On white

8.85
#343DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#343DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DA7
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DA7#FFFFFF#000000##FFFFFF
##343DA71.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #343da7;
/* rgb */ color: rgb(52, 61, 167);
/* oklch */ color: oklch(42.2% 0.168 273.1);
Tailwind
colors: {
  custom: {
    50: '#7b72c2',
    500: '#343da7',
    950: '#000000',
  },
}
SCSS
$custom: #343da7;
$custom-light: #7b72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#343da7",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 235.304,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.16799,
    "h": 273.1
  },
  "luminance": 0.06858
}

Semantic roles & 50–950 ramp

primary
#343DA7
secondary
#C0BA77
accent
#D14CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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