#343FC7#343FC7

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

Color values

HEX#343FC7
RGBrgb(52, 63, 199)
HSLhsl(236, 59%, 49%)
HSVhsv(236, 74%, 78%)
CMYKcmyk(73.9%, 68.3%, 0%, 22%)
CIE-LABlab(34.82, 41.83, -71.60)
CIE-LCHlch(34.82, 82.93, 300.29°)
OKLaboklab(45.52% 0.005 -0.2071)
OKLCHoklch(45.52% 0.207 271.4)
XYZxyz(13.4990, 8.4072, 54.9331)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FC7 #C7BC34
analogous
#3489C7 #343FC7 #7334C7
triadic
#343FC7 #C7343F #3FC734
tetradic
#343FC7 #C73489 #C7BC34 #34C773
square
#343FC7 #C73489 #C7BC34 #34C773
split-complementary
#343FC7 #C77334 #89C734
monochromatic
#1B2066 #273096 #343FC7 #626BD6 #9399E3

Accessibility & contrast

On white

7.83
#343FC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#343FC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FC7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FC7#FFFFFF#000000##FFFFFF
##343FC71.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #343fc7;
/* rgb */ color: rgb(52, 63, 199);
/* oklch */ color: oklch(45.5% 0.207 271.4);
Tailwind
colors: {
  custom: {
    50: '#8274d9',
    500: '#343fc7',
    950: '#000000',
  },
}
SCSS
$custom: #343fc7;
$custom-light: #8274d9;
$custom-dark: #000000;
JSON
{
  "hex": "#343fc7",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 235.51,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.20721,
    "h": 271.4
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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