#343D9F#343D9F

#343D9F is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.157 H 273.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#343D9F
RGBrgb(52, 61, 159)
HSLhsl(235, 51%, 41%)
HSVhsv(235, 67%, 62%)
CMYKcmyk(67.3%, 61.6%, 0%, 37.6%)
CIE-LABlab(30.81, 28.98, -54.41)
CIE-LCHlch(30.81, 61.65, 298.04°)
OKLaboklab(41.51% 0.0093 -0.1568)
OKLCHoklch(41.51% 0.157 273.4)
XYZxyz(9.3408, 6.5699, 33.5700)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D9F #9F9634
analogous
#34739F #343D9F #61349F
triadic
#343D9F #9F343D #3D9F34
tetradic
#343D9F #9F3473 #9F9634 #349F61
square
#343D9F #9F3473 #9F9634 #349F61
split-complementary
#343D9F #9F6134 #739F34
monochromatic
#161A43 #252B71 #343D9F #4C56C4 #7A81D3

Accessibility & contrast

On white

9.07
#343D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#343D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D9F
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D9F#FFFFFF#000000##FFFFFF
##343D9F1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343d9f;
/* rgb */ color: rgb(52, 61, 159);
/* oklch */ color: oklch(41.5% 0.157 273.4);
Tailwind
colors: {
  custom: {
    50: '#7972bc',
    500: '#343d9f',
    950: '#000000',
  },
}
SCSS
$custom: #343d9f;
$custom-light: #7972bc;
$custom-dark: #000000;
JSON
{
  "hex": "#343d9f",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 234.953,
    "s": 50.711,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.15708,
    "h": 273.4
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#343D9F
secondary
#BCB673
accent
#CE4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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