#343EC1#343EC1

#343EC1 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.8% C 0.201 H 271.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#343EC1
RGBrgb(52, 62, 193)
HSLhsl(236, 58%, 48%)
HSVhsv(236, 73%, 76%)
CMYKcmyk(73.1%, 67.9%, 0%, 24.3%)
CIE-LABlab(34.03, 40.37, -69.38)
CIE-LCHlch(34.03, 80.27, 300.19°)
OKLaboklab(44.79% 0.0062 -0.2007)
OKLCHoklch(44.79% 0.201 271.8)
XYZxyz(12.7612, 8.0243, 51.3180)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343EC1 #C1B734
analogous
#3484C1 #343EC1 #7134C1
triadic
#343EC1 #C1343E #3EC134
tetradic
#343EC1 #C13484 #C1B734 #34C171
square
#343EC1 #C13484 #C1B734 #34C171
split-complementary
#343EC1 #C17134 #84C134
monochromatic
#1A1F61 #272F91 #343EC1 #5E67D4 #8F94E1

Accessibility & contrast

On white

8.06
#343EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#343EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343EC1
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343EC1#FFFFFF#000000##FFFFFF
##343EC11.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0049BF
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #343ec1;
/* rgb */ color: rgb(52, 62, 193);
/* oklch */ color: oklch(44.8% 0.201 271.8);
Tailwind
colors: {
  custom: {
    50: '#8074d5',
    500: '#343ec1',
    950: '#000000',
  },
}
SCSS
$custom: #343ec1;
$custom-light: #8074d5;
$custom-dark: #000000;
JSON
{
  "hex": "#343ec1",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 235.745,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44785,
    "c": 0.20076,
    "h": 271.8
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#343EC1
secondary
#CBC686
accent
#D647E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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