#343DC2#343DC2

#343DC2 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.7% C 0.203 H 271.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#343DC2
RGBrgb(52, 61, 194)
HSLhsl(236, 58%, 48%)
HSVhsv(236, 73%, 76%)
CMYKcmyk(73.2%, 68.6%, 0%, 23.9%)
CIE-LABlab(33.90, 41.32, -70.18)
CIE-LCHlch(33.90, 81.44, 300.49°)
OKLaboklab(44.72% 0.0067 -0.203)
OKLCHoklch(44.72% 0.203 271.9)
XYZxyz(12.8192, 7.9613, 51.8896)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DC2 #C2B934
analogous
#3484C2 #343DC2 #7234C2
triadic
#343DC2 #C2343D #3DC234
tetradic
#343DC2 #C23484 #C2B934 #34C272
square
#343DC2 #C23484 #C2B934 #34C272
split-complementary
#343DC2 #C27234 #84C234
monochromatic
#1A1F61 #272E92 #343DC2 #5F66D4 #8F95E1

Accessibility & contrast

On white

8.10
#343DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#343DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DC2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DC2#FFFFFF#000000##FFFFFF
##343DC21.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0049C0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #343dc2;
/* rgb */ color: rgb(52, 61, 194);
/* oklch */ color: oklch(44.7% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#8173d6',
    500: '#343dc2',
    950: '#000000',
  },
}
SCSS
$custom: #343dc2;
$custom-light: #8173d6;
$custom-dark: #000000;
JSON
{
  "hex": "#343dc2",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 236.197,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44718,
    "c": 0.20311,
    "h": 271.9
  },
  "luminance": 0.07963
}

Semantic roles & 50–950 ramp

primary
#343DC2
secondary
#CCC786
accent
#D747E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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