#343EC7#343EC7

#343EC7 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.208 H 271.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#343EC7
RGBrgb(52, 62, 199)
HSLhsl(236, 59%, 49%)
HSVhsv(236, 74%, 78%)
CMYKcmyk(73.9%, 68.8%, 0%, 22%)
CIE-LABlab(34.59, 42.44, -71.97)
CIE-LCHlch(34.59, 83.55, 300.53°)
OKLaboklab(45.36% 0.0056 -0.2082)
OKLCHoklch(45.36% 0.208 271.5)
XYZxyz(13.4441, 8.2974, 54.9148)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EC7 #C7BD34
analogous
#3488C7 #343EC7 #7334C7
triadic
#343EC7 #C7343E #3EC734
tetradic
#343EC7 #C73488 #C7BD34 #34C773
square
#343EC7 #C73488 #C7BD34 #34C773
split-complementary
#343EC7 #C77334 #88C734
monochromatic
#1B2066 #272F96 #343EC7 #626AD6 #9398E3

Accessibility & contrast

On white

7.90
#343EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#343EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EC7
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EC7#FFFFFF#000000##FFFFFF
##343EC71.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343ec7;
/* rgb */ color: rgb(52, 62, 199);
/* oklch */ color: oklch(45.4% 0.208 271.5);
Tailwind
colors: {
  custom: {
    50: '#8274d9',
    500: '#343ec7',
    950: '#000000',
  },
}
SCSS
$custom: #343ec7;
$custom-light: #8274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#343ec7",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 199
  },
  "hsl": {
    "h": 235.918,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.20828,
    "h": 271.5
  },
  "luminance": 0.08299
}

Semantic roles & 50–950 ramp

primary
#343EC7
secondary
#CEC989
accent
#D746E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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