#343A99#343A99

#343A99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.153 H 274.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#343A99
RGBrgb(52, 58, 153)
HSLhsl(236, 49%, 40%)
HSVhsv(236, 66%, 60%)
CMYKcmyk(66%, 62.1%, 0%, 40%)
CIE-LABlab(29.55, 28.80, -52.81)
CIE-LCHlch(29.55, 60.15, 298.60°)
OKLaboklab(40.42% 0.012 -0.1521)
OKLCHoklch(40.42% 0.153 274.5)
XYZxyz(8.6771, 6.0553, 30.8423)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343A99 #999334
analogous
#346C99 #343A99 #613499
triadic
#343A99 #99343A #3A9934
tetradic
#343A99 #99346C #999334 #349961
square
#343A99 #99346C #999334 #349961
split-complementary
#343A99 #996134 #6C9934
monochromatic
#15173E #24296B #343A99 #4950C1 #777CD1

Accessibility & contrast

On white

9.50
#343A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#343A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343A99
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343A99#FFFFFF#000000##FFFFFF
##343A991.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343a99;
/* rgb */ color: rgb(52, 58, 153);
/* oklch */ color: oklch(40.4% 0.153 274.5);
Tailwind
colors: {
  custom: {
    50: '#7870b8',
    500: '#343a99',
    950: '#000000',
  },
}
SCSS
$custom: #343a99;
$custom-light: #7870b8;
$custom-dark: #000000;
JSON
{
  "hex": "#343a99",
  "rgb": {
    "r": 52,
    "g": 58,
    "b": 153
  },
  "hsl": {
    "h": 236.436,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.15261,
    "h": 274.5
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#343A99
secondary
#B9B570
accent
#D14FD9
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #343A99

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

Preview Lab → · Contrast checker → · Palette generator →

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