#343FC5#343FC5

#343FC5 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.3% C 0.205 H 271.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#343FC5
RGBrgb(52, 63, 197)
HSLhsl(235, 58%, 49%)
HSVhsv(235, 74%, 77%)
CMYKcmyk(73.6%, 68%, 0%, 22.7%)
CIE-LABlab(34.63, 41.14, -70.74)
CIE-LCHlch(34.63, 81.83, 300.18°)
OKLaboklab(45.33% 0.0052 -0.2046)
OKLCHoklch(45.33% 0.205 271.5)
XYZxyz(13.2683, 8.3149, 53.7182)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FC5 #C5BA34
analogous
#3488C5 #343FC5 #7234C5
triadic
#343FC5 #C5343F #3FC534
tetradic
#343FC5 #C53488 #C5BA34 #34C572
square
#343FC5 #C53488 #C5BA34 #34C572
split-complementary
#343FC5 #C57234 #88C534
monochromatic
#1A2064 #273095 #343FC5 #616AD5 #9197E2

Accessibility & contrast

On white

7.89
#343FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#343FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FC5
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FC5#FFFFFF#000000##FFFFFF
##343FC51.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343fc5;
/* rgb */ color: rgb(52, 63, 197);
/* oklch */ color: oklch(45.3% 0.205 271.5);
Tailwind
colors: {
  custom: {
    50: '#8174d8',
    500: '#343fc5',
    950: '#000000',
  },
}
SCSS
$custom: #343fc5;
$custom-light: #8174d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343fc5",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 197
  },
  "hsl": {
    "h": 235.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.2047,
    "h": 271.5
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#343FC5
secondary
#CDC888
accent
#D646E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #343FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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