#343CC5#343CC5

#343CC5 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.208 H 271.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#343CC5
RGBrgb(52, 60, 197)
HSLhsl(237, 58%, 49%)
HSVhsv(237, 74%, 77%)
CMYKcmyk(73.6%, 69.5%, 0%, 22.7%)
CIE-LABlab(33.97, 42.95, -71.83)
CIE-LCHlch(33.97, 83.69, 300.88°)
OKLaboklab(44.85% 0.0069 -0.2078)
OKLCHoklch(44.85% 0.208 271.9)
XYZxyz(13.1067, 7.9916, 53.6643)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343CC5 #C5BD34
analogous
#3485C5 #343CC5 #7534C5
triadic
#343CC5 #C5343C #3CC534
tetradic
#343CC5 #C53485 #C5BD34 #34C575
square
#343CC5 #C53485 #C5BD34 #34C575
split-complementary
#343CC5 #C57534 #85C534
monochromatic
#1A1F64 #272D95 #343CC5 #6167D5 #9196E2

Accessibility & contrast

On white

8.08
#343CC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#343CC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343CC5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343CC5#FFFFFF#000000##FFFFFF
##343CC51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C9
Deuteranopia (green-blind)
#0049C2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #343cc5;
/* rgb */ color: rgb(52, 60, 197);
/* oklch */ color: oklch(44.9% 0.208 271.9);
Tailwind
colors: {
  custom: {
    50: '#8172d8',
    500: '#343cc5',
    950: '#000000',
  },
}
SCSS
$custom: #343cc5;
$custom-light: #8172d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343cc5",
  "rgb": {
    "r": 52,
    "g": 60,
    "b": 197
  },
  "hsl": {
    "h": 236.69,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.20794,
    "h": 271.9
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#343CC5
secondary
#CDC988
accent
#D946E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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