#343DA2#343DA2

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

Color values

HEX#343DA2
RGBrgb(52, 61, 162)
HSLhsl(235, 51%, 42%)
HSVhsv(235, 68%, 64%)
CMYKcmyk(67.9%, 62.3%, 0%, 36.5%)
CIE-LABlab(31.06, 30.06, -55.82)
CIE-LCHlch(31.06, 63.40, 298.30°)
OKLaboklab(41.77% 0.0092 -0.1609)
OKLCHoklch(41.77% 0.161 273.3)
XYZxyz(9.6043, 6.6753, 34.9577)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DA2 #A29934
analogous
#3474A2 #343DA2 #6234A2
triadic
#343DA2 #A2343D #3DA234
tetradic
#343DA2 #A23474 #A29934 #34A262
square
#343DA2 #A23474 #A29934 #34A262
split-complementary
#343DA2 #A26234 #74A234
monochromatic
#161A45 #252C74 #343DA2 #4D57C6 #7C83D5

Accessibility & contrast

On white

8.99
#343DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343DA2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DA2#FFFFFF#000000##FFFFFF
##343DA21.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343da2;
/* rgb */ color: rgb(52, 61, 162);
/* oklch */ color: oklch(41.8% 0.161 273.3);
Tailwind
colors: {
  custom: {
    50: '#7972be',
    500: '#343da2',
    950: '#000000',
  },
}
SCSS
$custom: #343da2;
$custom-light: #7972be;
$custom-dark: #000000;
JSON
{
  "hex": "#343da2",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 235.091,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41767,
    "c": 0.1612,
    "h": 273.3
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#343DA2
secondary
#BEB874
accent
#CF4DDB
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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