#343DA1#343DA1

#343DA1 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.160 H 273.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#343DA1
RGBrgb(52, 61, 161)
HSLhsl(235, 51%, 42%)
HSVhsv(235, 68%, 63%)
CMYKcmyk(67.7%, 62.1%, 0%, 36.9%)
CIE-LABlab(30.97, 29.70, -55.35)
CIE-LCHlch(30.97, 62.82, 298.22°)
OKLaboklab(41.68% 0.0092 -0.1596)
OKLCHoklch(41.68% 0.16 273.3)
XYZxyz(9.5158, 6.6399, 34.4915)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DA1 #A19834
analogous
#3474A1 #343DA1 #6234A1
triadic
#343DA1 #A1343D #3DA134
tetradic
#343DA1 #A13474 #A19834 #34A162
square
#343DA1 #A13474 #A19834 #34A162
split-complementary
#343DA1 #A16234 #74A134
monochromatic
#161A44 #252B73 #343DA1 #4D57C5 #7B82D4

Accessibility & contrast

On white

9.02
#343DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#343DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DA1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DA1#FFFFFF#000000##FFFFFF
##343DA11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA4
Deuteranopia (green-blind)
#00449F
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #343da1;
/* rgb */ color: rgb(52, 61, 161);
/* oklch */ color: oklch(41.7% 0.160 273.3);
Tailwind
colors: {
  custom: {
    50: '#7972be',
    500: '#343da1',
    950: '#000000',
  },
}
SCSS
$custom: #343da1;
$custom-light: #7972be;
$custom-dark: #000000;
JSON
{
  "hex": "#343da1",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 161
  },
  "hsl": {
    "h": 235.046,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.15984,
    "h": 273.3
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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