#343DB4#343DB4

#343DB4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.185 H 272.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#343DB4
RGBrgb(52, 61, 180)
HSLhsl(236, 55%, 45%)
HSVhsv(236, 71%, 71%)
CMYKcmyk(71.1%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.62, 36.45, -64.04)
CIE-LCHlch(32.62, 73.68, 299.65°)
OKLaboklab(43.39% 0.0081 -0.185)
OKLCHoklch(43.39% 0.185 272.5)
XYZxyz(11.3204, 7.3617, 43.9955)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DB4 #B4AB34
analogous
#347DB4 #343DB4 #6B34B4
triadic
#343DB4 #B4343D #3DB434
tetradic
#343DB4 #B4347D #B4AB34 #34B46B
square
#343DB4 #B4347D #B4AB34 #34B46B
split-complementary
#343DB4 #B46B34 #7DB434
monochromatic
#191D55 #262D85 #343DB4 #575FCE #868CDC

Accessibility & contrast

On white

8.49
#343DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#343DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DB4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DB4#FFFFFF#000000##FFFFFF
##343DB41.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343db4;
/* rgb */ color: rgb(52, 61, 180);
/* oklch */ color: oklch(43.4% 0.185 272.5);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#343db4',
    950: '#000000',
  },
}
SCSS
$custom: #343db4;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#343db4",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 235.781,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.18522,
    "h": 272.5
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#343DB4
secondary
#C6C17E
accent
#D449DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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