#343EAE#343EAE

#343EAE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.176 H 272.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#343EAE
RGBrgb(52, 62, 174)
HSLhsl(235, 54%, 44%)
HSVhsv(235, 70%, 68%)
CMYKcmyk(70.1%, 64.4%, 0%, 31.8%)
CIE-LABlab(32.33, 33.70, -60.94)
CIE-LCHlch(32.33, 69.64, 298.94°)
OKLaboklab(43.02% 0.0078 -0.176)
OKLCHoklch(43.02% 0.176 272.5)
XYZxyz(10.7762, 7.2303, 40.8639)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EAE #AEA434
analogous
#347BAE #343EAE #6734AE
triadic
#343EAE #AE343E #3EAE34
tetradic
#343EAE #AE347B #AEA434 #34AE67
square
#343EAE #AE347B #AEA434 #34AE67
split-complementary
#343EAE #AE6734 #7BAE34
monochromatic
#181C50 #262D7F #343EAE #535DCC #838ADA

Accessibility & contrast

On white

8.58
#343EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#343EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EAE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EAE#FFFFFF#000000##FFFFFF
##343EAE1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #343eae;
/* rgb */ color: rgb(52, 62, 174);
/* oklch */ color: oklch(43.0% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c73c7',
    500: '#343eae',
    950: '#000000',
  },
}
SCSS
$custom: #343eae;
$custom-light: #7c73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#343eae",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 235.082,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43017,
    "c": 0.17614,
    "h": 272.5
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#343EAE
secondary
#C3BD7B
accent
#D14ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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