#343CAE#343CAE

#343CAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.179 H 273.0°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#343CAE
RGBrgb(52, 60, 174)
HSLhsl(236, 54%, 44%)
HSVhsv(236, 70%, 68%)
CMYKcmyk(70.1%, 65.5%, 0%, 31.8%)
CIE-LABlab(31.85, 34.97, -61.73)
CIE-LCHlch(31.85, 70.95, 299.53°)
OKLaboklab(42.67% 0.0092 -0.1783)
OKLCHoklch(42.67% 0.179 273)
XYZxyz(10.6695, 7.0168, 40.8283)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CAE #AEA634
analogous
#3479AE #343CAE #6934AE
triadic
#343CAE #AE343C #3CAE34
tetradic
#343CAE #AE3479 #AEA634 #34AE69
square
#343CAE #AE3479 #AEA634 #34AE69
split-complementary
#343CAE #AE6934 #79AE34
monochromatic
#181C50 #262C7F #343CAE #535BCC #8388DA

Accessibility & contrast

On white

8.74
#343CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#343CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CAE
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CAE#FFFFFF#000000##FFFFFF
##343CAE1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343cae;
/* rgb */ color: rgb(52, 60, 174);
/* oklch */ color: oklch(42.7% 0.179 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c72c7',
    500: '#343cae',
    950: '#000000',
  },
}
SCSS
$custom: #343cae;
$custom-light: #7c72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#343cae",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 236.066,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42666,
    "c": 0.17853,
    "h": 273
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#343CAE
secondary
#C3BE7B
accent
#D44ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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