#343D9B#343D9B

#343D9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.152 H 273.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#343D9B
RGBrgb(52, 61, 155)
HSLhsl(235, 50%, 41%)
HSVhsv(235, 66%, 61%)
CMYKcmyk(66.5%, 60.6%, 0%, 39.2%)
CIE-LABlab(30.48, 27.54, -52.52)
CIE-LCHlch(30.48, 59.30, 297.68°)
OKLaboklab(41.16% 0.0094 -0.1512)
OKLCHoklch(41.16% 0.152 273.5)
XYZxyz(8.9993, 6.4333, 31.7715)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343D9B #9B9234
analogous
#34709B #343D9B #5E349B
triadic
#343D9B #9B343D #3D9B34
tetradic
#343D9B #9B3470 #9B9234 #349B5E
square
#343D9B #9B3470 #9B9234 #349B5E
split-complementary
#343D9B #9B5E34 #709B34
monochromatic
#15193F #252B6D #343D9B #4A54C2 #7880D2

Accessibility & contrast

On white

9.18
#343D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#343D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343D9B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343D9B#FFFFFF#000000##FFFFFF
##343D9B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #343d9b;
/* rgb */ color: rgb(52, 61, 155);
/* oklch */ color: oklch(41.2% 0.152 273.5);
Tailwind
colors: {
  custom: {
    50: '#7872b9',
    500: '#343d9b',
    950: '#000000',
  },
}
SCSS
$custom: #343d9b;
$custom-light: #7872b9;
$custom-dark: #000000;
JSON
{
  "hex": "#343d9b",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 234.757,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.15153,
    "h": 273.5
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#343D9B
secondary
#BAB471
accent
#CD4FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #343D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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