#343E8B#343E8B

#343E8B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.127 H 273.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#343E8B
RGBrgb(52, 62, 139)
HSLhsl(233, 46%, 37%)
HSVhsv(233, 63%, 55%)
CMYKcmyk(62.6%, 55.4%, 0%, 45.5%)
CIE-LABlab(29.51, 21.09, -44.29)
CIE-LCHlch(29.51, 49.06, 295.47°)
OKLaboklab(40.05% 0.0081 -0.127)
OKLCHoklch(40.05% 0.127 273.6)
XYZxyz(7.7975, 6.0388, 25.1758)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E8B #8B8134
analogous
#346A8B #343E8B #55348B
triadic
#343E8B #8B343E #3E8B34
tetradic
#343E8B #8B346A #8B8134 #348B55
square
#343E8B #8B346A #8B8134 #348B55
split-complementary
#343E8B #8B5534 #6A8B34
monochromatic
#131632 #232A5E #343E8B #4552B8 #707AC9

Accessibility & contrast

On white

9.51
#343E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #343E8B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E8B#FFFFFF#000000##FFFFFF
##343E8B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A498E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #343e8b;
/* rgb */ color: rgb(52, 62, 139);
/* oklch */ color: oklch(40.0% 0.127 273.6);
Tailwind
colors: {
  custom: {
    50: '#7573ad',
    500: '#343e8b',
    950: '#000000',
  },
}
SCSS
$custom: #343e8b;
$custom-light: #7573ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343e8b",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 139
  },
  "hsl": {
    "h": 233.103,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.1273,
    "h": 273.6
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#343E8B
secondary
#B2A969
accent
#C653D5
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #343E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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