#343FC6#343FC6

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

Color values

HEX#343FC6
RGBrgb(52, 63, 198)
HSLhsl(235, 58%, 49%)
HSVhsv(235, 74%, 78%)
CMYKcmyk(73.7%, 68.2%, 0%, 22.4%)
CIE-LABlab(34.72, 41.49, -71.17)
CIE-LCHlch(34.72, 82.38, 300.24°)
OKLaboklab(45.43% 0.0051 -0.2059)
OKLCHoklch(45.43% 0.206 271.4)
XYZxyz(13.3833, 8.3609, 54.3236)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FC6 #C6BB34
analogous
#3488C6 #343FC6 #7234C6
triadic
#343FC6 #C6343F #3FC634
tetradic
#343FC6 #C63488 #C6BB34 #34C672
square
#343FC6 #C63488 #C6BB34 #34C672
split-complementary
#343FC6 #C67234 #88C634
monochromatic
#1B2065 #273096 #343FC6 #626AD6 #9298E2

Accessibility & contrast

On white

7.86
#343FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#343FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FC6
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FC6#FFFFFF#000000##FFFFFF
##343FC61.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CA
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #343fc6;
/* rgb */ color: rgb(52, 63, 198);
/* oklch */ color: oklch(45.4% 0.206 271.4);
Tailwind
colors: {
  custom: {
    50: '#8174d8',
    500: '#343fc6',
    950: '#000000',
  },
}
SCSS
$custom: #343fc6;
$custom-light: #8174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343fc6",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 198
  },
  "hsl": {
    "h": 235.479,
    "s": 58.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45426,
    "c": 0.20595,
    "h": 271.4
  },
  "luminance": 0.08362
}

Semantic roles & 50–950 ramp

primary
#343FC6
secondary
#CDC889
accent
#D646E2
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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