#343EB2#343EB2

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

Color values

HEX#343EB2
RGBrgb(52, 62, 178)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 70%)
CMYKcmyk(70.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.68, 35.12, -62.75)
CIE-LCHlch(32.68, 71.91, 299.23°)
OKLaboklab(43.38% 0.0075 -0.1813)
OKLCHoklch(43.38% 0.181 272.4)
XYZxyz(11.1720, 7.3886, 42.9482)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EB2 #B2A834
analogous
#347DB2 #343EB2 #6934B2
triadic
#343EB2 #B2343E #3EB234
tetradic
#343EB2 #B2347D #B2A834 #34B269
square
#343EB2 #B2347D #B2A834 #34B269
split-complementary
#343EB2 #B26934 #7DB234
monochromatic
#181D53 #262E83 #343EB2 #565FCE #858CDB

Accessibility & contrast

On white

8.47
#343EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#343EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EB2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EB2#FFFFFF#000000##FFFFFF
##343EB21.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #343eb2;
/* rgb */ color: rgb(52, 62, 178);
/* oklch */ color: oklch(43.4% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#7d73ca',
    500: '#343eb2',
    950: '#000000',
  },
}
SCSS
$custom: #343eb2;
$custom-light: #7d73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#343eb2",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 235.238,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43382,
    "c": 0.18143,
    "h": 272.4
  },
  "luminance": 0.0739
}

Semantic roles & 50–950 ramp

primary
#343EB2
secondary
#C5BF7D
accent
#D24ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #343EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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