#343ECA#343ECA

#343ECA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.212 H 271.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#343ECA
RGBrgb(52, 62, 202)
HSLhsl(236, 59%, 50%)
HSVhsv(236, 74%, 79%)
CMYKcmyk(74.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(34.88, 43.46, -73.25)
CIE-LCHlch(34.88, 85.17, 300.68°)
OKLaboklab(45.65% 0.0052 -0.2119)
OKLCHoklch(45.65% 0.212 271.4)
XYZxyz(13.7959, 8.4381, 56.7673)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343ECA #CAC034
analogous
#3489CA #343ECA #7534CA
triadic
#343ECA #CA343E #3ECA34
tetradic
#343ECA #CA3489 #CAC034 #34CA75
square
#343ECA #CA3489 #CAC034 #34CA75
split-complementary
#343ECA #CA7534 #89CA34
monochromatic
#1B2069 #272F99 #343ECA #646CD7 #959AE4

Accessibility & contrast

On white

7.81
#343ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#343ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343ECA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343ECA#FFFFFF#000000##FFFFFF
##343ECA1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #343eca;
/* rgb */ color: rgb(52, 62, 202);
/* oklch */ color: oklch(45.7% 0.212 271.4);
Tailwind
colors: {
  custom: {
    50: '#8274db',
    500: '#343eca',
    950: '#000000',
  },
}
SCSS
$custom: #343eca;
$custom-light: #8274db;
$custom-dark: #000000;
JSON
{
  "hex": "#343eca",
  "rgb": {
    "r": 52,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 236,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45653,
    "c": 0.21201,
    "h": 271.4
  },
  "luminance": 0.0844
}

Semantic roles & 50–950 ramp

primary
#343ECA
secondary
#CFCA8B
accent
#D846E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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