#343EB7#343EB7

#343EB7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.188 H 272.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#343EB7
RGBrgb(52, 62, 183)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(71.6%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.12, 36.88, -64.99)
CIE-LCHlch(33.12, 74.72, 299.57°)
OKLaboklab(43.84% 0.0072 -0.1878)
OKLCHoklch(43.84% 0.188 272.2)
XYZxyz(11.6832, 7.5930, 45.6405)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EB7 #B7AD34
analogous
#347FB7 #343EB7 #6B34B7
triadic
#343EB7 #B7343E #3EB734
tetradic
#343EB7 #B7347F #B7AD34 #34B76B
square
#343EB7 #B7347F #B7AD34 #34B76B
split-complementary
#343EB7 #B76B34 #7FB734
monochromatic
#191E58 #262E87 #343EB7 #5962D0 #888FDD

Accessibility & contrast

On white

8.34
#343EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#343EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EB7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EB7#FFFFFF#000000##FFFFFF
##343EB71.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #343eb7;
/* rgb */ color: rgb(52, 62, 183);
/* oklch */ color: oklch(43.8% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#343eb7',
    950: '#000000',
  },
}
SCSS
$custom: #343eb7;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343eb7",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 235.42,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.18796,
    "h": 272.2
  },
  "luminance": 0.07594
}

Semantic roles & 50–950 ramp

primary
#343EB7
secondary
#C7C280
accent
#D449DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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