#343CA7#343CA7

#343CA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.169 H 273.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#343CA7
RGBrgb(52, 60, 167)
HSLhsl(236, 53%, 43%)
HSVhsv(236, 69%, 65%)
CMYKcmyk(68.9%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.23, 32.49, -58.54)
CIE-LCHlch(31.23, 66.95, 299.03°)
OKLaboklab(42.03% 0.0097 -0.1689)
OKLCHoklch(42.03% 0.169 273.3)
XYZxyz(10.0048, 6.7509, 37.3275)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA7 #A79F34
analogous
#3475A7 #343CA7 #6534A7
triadic
#343CA7 #A7343C #3CA734
tetradic
#343CA7 #A73475 #A79F34 #34A765
square
#343CA7 #A73475 #A79F34 #34A765
split-complementary
#343CA7 #A76534 #75A734
monochromatic
#171A4A #252B78 #343CA7 #5058C8 #7E85D7

Accessibility & contrast

On white

8.93
#343CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#343CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA7#FFFFFF#000000##FFFFFF
##343CA71.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ca7;
/* rgb */ color: rgb(52, 60, 167);
/* oklch */ color: oklch(42.0% 0.169 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b72c2',
    500: '#343ca7',
    950: '#000000',
  },
}
SCSS
$custom: #343ca7;
$custom-light: #7b72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca7",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 235.826,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42029,
    "c": 0.16921,
    "h": 273.3
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#343CA7
secondary
#C0BB77
accent
#D24CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #343CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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