#343EAA#343EAA

#343EAA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.171 H 272.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#343EAA
RGBrgb(52, 62, 170)
HSLhsl(235, 53%, 44%)
HSVhsv(235, 69%, 67%)
CMYKcmyk(69.4%, 63.5%, 0%, 33.3%)
CIE-LABlab(31.98, 32.28, -59.12)
CIE-LCHlch(31.98, 67.35, 298.63°)
OKLaboklab(42.66% 0.008 -0.1706)
OKLCHoklch(42.66% 0.171 272.7)
XYZxyz(10.3921, 7.0766, 38.8407)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EAA #AAA034
analogous
#3479AA #343EAA #6534AA
triadic
#343EAA #AA343E #3EAA34
tetradic
#343EAA #AA3479 #AAA034 #34AA65
square
#343EAA #AA3479 #AAA034 #34AA65
split-complementary
#343EAA #AA6534 #79AA34
monochromatic
#171C4C #262D7B #343EAA #515CCA #8088D8

Accessibility & contrast

On white

8.69
#343EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#343EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EAA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EAA#FFFFFF#000000##FFFFFF
##343EAA1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #343eaa;
/* rgb */ color: rgb(52, 62, 170);
/* oklch */ color: oklch(42.7% 0.171 272.7);
Tailwind
colors: {
  custom: {
    50: '#7b73c4',
    500: '#343eaa',
    950: '#000000',
  },
}
SCSS
$custom: #343eaa;
$custom-light: #7b73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#343eaa",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 234.915,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.1708,
    "h": 272.7
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#343EAA
secondary
#C1BB78
accent
#D04BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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