#343CCA#343CCA

#343CCA is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.3% C 0.214 H 271.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#343CCA
RGBrgb(52, 60, 202)
HSLhsl(237, 59%, 50%)
HSVhsv(237, 74%, 79%)
CMYKcmyk(74.3%, 70.3%, 0%, 20.8%)
CIE-LABlab(34.45, 44.65, -73.96)
CIE-LCHlch(34.45, 86.39, 301.12°)
OKLaboklab(45.34% 0.0063 -0.214)
OKLCHoklch(45.34% 0.214 271.7)
XYZxyz(13.6891, 8.2246, 56.7317)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CCA #CAC234
analogous
#3487CA #343CCA #7734CA
triadic
#343CCA #CA343C #3CCA34
tetradic
#343CCA #CA3487 #CAC234 #34CA77
square
#343CCA #CA3487 #CAC234 #34CA77
split-complementary
#343CCA #CA7734 #87CA34
monochromatic
#1B1F69 #272E99 #343CCA #646AD7 #9599E4

Accessibility & contrast

On white

7.94
#343CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#343CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CCA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CCA#FFFFFF#000000##FFFFFF
##343CCA1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343cca;
/* rgb */ color: rgb(52, 60, 202);
/* oklch */ color: oklch(45.3% 0.214 271.7);
Tailwind
colors: {
  custom: {
    50: '#8273db',
    500: '#343cca',
    950: '#000000',
  },
}
SCSS
$custom: #343cca;
$custom-light: #8273db;
$custom-dark: #000000;
JSON
{
  "hex": "#343cca",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 236.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.21412,
    "h": 271.7
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#343CCA
secondary
#CFCB8B
accent
#DA46E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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