#343EB5#343EB5

#343EB5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.185 H 272.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#343EB5
RGBrgb(52, 62, 181)
HSLhsl(235, 55%, 46%)
HSVhsv(235, 71%, 71%)
CMYKcmyk(71.3%, 65.7%, 0%, 29%)
CIE-LABlab(32.94, 36.18, -64.10)
CIE-LCHlch(32.94, 73.60, 299.44°)
OKLaboklab(43.66% 0.0073 -0.1852)
OKLCHoklch(43.66% 0.185 272.3)
XYZxyz(11.4765, 7.5104, 44.5519)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EB5 #B5AB34
analogous
#347EB5 #343EB5 #6A34B5
triadic
#343EB5 #B5343E #3EB534
tetradic
#343EB5 #B5347E #B5AB34 #34B56A
square
#343EB5 #B5347E #B5AB34 #34B56A
split-complementary
#343EB5 #B56A34 #7EB534
monochromatic
#191D56 #262E85 #343EB5 #5761CF #878EDC

Accessibility & contrast

On white

8.39
#343EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#343EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EB5
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EB5#FFFFFF#000000##FFFFFF
##343EB51.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343eb5;
/* rgb */ color: rgb(52, 62, 181);
/* oklch */ color: oklch(43.7% 0.185 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e73cc',
    500: '#343eb5',
    950: '#000000',
  },
}
SCSS
$custom: #343eb5;
$custom-light: #7e73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#343eb5",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 235.349,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43658,
    "c": 0.18535,
    "h": 272.3
  },
  "luminance": 0.07512
}

Semantic roles & 50–950 ramp

primary
#343EB5
secondary
#C6C17F
accent
#D349DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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