#343EB8#343EB8

#343EB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.189 H 272.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#343EB8
RGBrgb(52, 62, 184)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(71.7%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.21, 37.23, -65.43)
CIE-LCHlch(33.21, 75.28, 299.64°)
OKLaboklab(43.94% 0.0071 -0.1891)
OKLCHoklch(43.94% 0.189 272.1)
XYZxyz(11.7876, 7.6348, 46.1906)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EB8 #B8AE34
analogous
#3480B8 #343EB8 #6C34B8
triadic
#343EB8 #B8343E #3EB834
tetradic
#343EB8 #B83480 #B8AE34 #34B86C
square
#343EB8 #B83480 #B8AE34 #34B86C
split-complementary
#343EB8 #B86C34 #80B834
monochromatic
#191E59 #272E88 #343EB8 #5962D0 #898FDE

Accessibility & contrast

On white

8.31
#343EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#343EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EB8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EB8#FFFFFF#000000##FFFFFF
##343EB81.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343eb8;
/* rgb */ color: rgb(52, 62, 184);
/* oklch */ color: oklch(43.9% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#343eb8',
    950: '#000000',
  },
}
SCSS
$custom: #343eb8;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#343eb8",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 235.455,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.18924,
    "h": 272.1
  },
  "luminance": 0.07636
}

Semantic roles & 50–950 ramp

primary
#343EB8
secondary
#C8C280
accent
#D449DF
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #343EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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