#343EC5#343EC5

#343EC5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.206 H 271.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#343EC5
RGBrgb(52, 62, 197)
HSLhsl(236, 58%, 49%)
HSVhsv(236, 74%, 77%)
CMYKcmyk(73.6%, 68.5%, 0%, 22.7%)
CIE-LABlab(34.41, 41.75, -71.11)
CIE-LCHlch(34.41, 82.46, 300.42°)
OKLaboklab(45.17% 0.0058 -0.2057)
OKLCHoklch(45.17% 0.206 271.6)
XYZxyz(13.2134, 8.2052, 53.6999)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EC5 #C5BB34
analogous
#3487C5 #343EC5 #7334C5
triadic
#343EC5 #C5343E #3EC534
tetradic
#343EC5 #C53487 #C5BB34 #34C573
square
#343EC5 #C53487 #C5BB34 #34C573
split-complementary
#343EC5 #C57334 #87C534
monochromatic
#1A2064 #272F95 #343EC5 #6169D5 #9197E2

Accessibility & contrast

On white

7.95
#343EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#343EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EC5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EC5#FFFFFF#000000##FFFFFF
##343EC51.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004AC3
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343ec5;
/* rgb */ color: rgb(52, 62, 197);
/* oklch */ color: oklch(45.2% 0.206 271.6);
Tailwind
colors: {
  custom: {
    50: '#8174d8',
    500: '#343ec5',
    950: '#000000',
  },
}
SCSS
$custom: #343ec5;
$custom-light: #8174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343ec5",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 197
  },
  "hsl": {
    "h": 235.862,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.20579,
    "h": 271.6
  },
  "luminance": 0.08207
}

Semantic roles & 50–950 ramp

primary
#343EC5
secondary
#CDC888
accent
#D746E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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