#343E8A#343E8A

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

Color values

HEX#343E8A
RGBrgb(52, 62, 138)
HSLhsl(233, 45%, 37%)
HSVhsv(233, 62%, 54%)
CMYKcmyk(62.3%, 55.1%, 0%, 45.9%)
CIE-LABlab(29.44, 20.73, -43.79)
CIE-LCHlch(29.44, 48.45, 295.33°)
OKLaboklab(39.97% 0.008 -0.1256)
OKLCHoklch(39.97% 0.126 273.6)
XYZxyz(7.7247, 6.0097, 24.7927)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343E8A #8A8034
analogous
#34698A #343E8A #55348A
triadic
#343E8A #8A343E #3E8A34
tetradic
#343E8A #8A3469 #8A8034 #348A55
square
#343E8A #8A3469 #8A8034 #348A55
split-complementary
#343E8A #8A5534 #698A34
monochromatic
#131631 #232A5E #343E8A #4552B6 #6F7AC9

Accessibility & contrast

On white

9.54
#343E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#343E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343E8A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343E8A#FFFFFF#000000##FFFFFF
##343E8A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#004288
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #343e8a;
/* rgb */ color: rgb(52, 62, 138);
/* oklch */ color: oklch(40.0% 0.126 273.6);
Tailwind
colors: {
  custom: {
    50: '#7473ad',
    500: '#343e8a',
    950: '#000000',
  },
}
SCSS
$custom: #343e8a;
$custom-light: #7473ad;
$custom-dark: #000000;
JSON
{
  "hex": "#343e8a",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 233.023,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.12582,
    "h": 273.6
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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