#343CA6#343CA6

#343CA6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.168 H 273.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#343CA6
RGBrgb(52, 60, 166)
HSLhsl(236, 52%, 43%)
HSVhsv(236, 69%, 65%)
CMYKcmyk(68.7%, 63.9%, 0%, 34.9%)
CIE-LABlab(31.15, 32.13, -58.08)
CIE-LCHlch(31.15, 66.38, 298.96°)
OKLaboklab(41.94% 0.0098 -0.1676)
OKLCHoklch(41.94% 0.168 273.3)
XYZxyz(9.9127, 6.7140, 36.8425)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CA6 #A69E34
analogous
#3475A6 #343CA6 #6534A6
triadic
#343CA6 #A6343C #3CA634
tetradic
#343CA6 #A63475 #A69E34 #34A665
square
#343CA6 #A63475 #A69E34 #34A665
split-complementary
#343CA6 #A66534 #75A634
monochromatic
#171A49 #252B77 #343CA6 #4F58C8 #7E84D7

Accessibility & contrast

On white

8.96
#343CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#343CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CA6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CA6#FFFFFF#000000##FFFFFF
##343CA61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0044A4
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343ca6;
/* rgb */ color: rgb(52, 60, 166);
/* oklch */ color: oklch(41.9% 0.168 273.3);
Tailwind
colors: {
  custom: {
    50: '#7a72c1',
    500: '#343ca6',
    950: '#000000',
  },
}
SCSS
$custom: #343ca6;
$custom-light: #7a72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#343ca6",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 235.789,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41939,
    "c": 0.16787,
    "h": 273.3
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#343CA6
secondary
#C0BA76
accent
#D24CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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