#343B9B#343B9B

#343B9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.154 H 274.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#343B9B
RGBrgb(52, 59, 155)
HSLhsl(236, 50%, 41%)
HSVhsv(236, 66%, 61%)
CMYKcmyk(66.5%, 61.9%, 0%, 39.2%)
CIE-LABlab(29.97, 28.86, -53.35)
CIE-LCHlch(29.97, 60.65, 298.41°)
OKLaboklab(40.78% 0.0111 -0.1537)
OKLCHoklch(40.78% 0.154 274.1)
XYZxyz(8.8946, 6.2238, 31.7366)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343B9B #9B9434
analogous
#346E9B #343B9B #60349B
triadic
#343B9B #9B343B #3B9B34
tetradic
#343B9B #9B346E #9B9434 #349B60
square
#343B9B #9B346E #9B9434 #349B60
split-complementary
#343B9B #9B6034 #6E9B34
monochromatic
#15183F #252A6D #343B9B #4A52C2 #787ED2

Accessibility & contrast

On white

9.35
#343B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#343B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343B9B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343B9B#FFFFFF#000000##FFFFFF
##343B9B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #343b9b;
/* rgb */ color: rgb(52, 59, 155);
/* oklch */ color: oklch(40.8% 0.154 274.1);
Tailwind
colors: {
  custom: {
    50: '#7871b9',
    500: '#343b9b',
    950: '#000000',
  },
}
SCSS
$custom: #343b9b;
$custom-light: #7871b9;
$custom-dark: #000000;
JSON
{
  "hex": "#343b9b",
  "rgb": {
    "r": 52,
    "g": 59,
    "b": 155
  },
  "hsl": {
    "h": 235.922,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.1541,
    "h": 274.1
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#343B9B
secondary
#BAB571
accent
#D04FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #343B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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