#343DC5#343DC5

#343DC5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.207 H 271.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#343DC5
RGBrgb(52, 61, 197)
HSLhsl(236, 58%, 49%)
HSVhsv(236, 74%, 77%)
CMYKcmyk(73.6%, 69%, 0%, 22.7%)
CIE-LABlab(34.18, 42.35, -71.47)
CIE-LCHlch(34.18, 83.08, 300.65°)
OKLaboklab(45.01% 0.0064 -0.2068)
OKLCHoklch(45.01% 0.207 271.8)
XYZxyz(13.1596, 8.0974, 53.6819)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343DC5 #C5BC34
analogous
#3486C5 #343DC5 #7434C5
triadic
#343DC5 #C5343D #3DC534
tetradic
#343DC5 #C53486 #C5BC34 #34C574
square
#343DC5 #C53486 #C5BC34 #34C574
split-complementary
#343DC5 #C57434 #86C534
monochromatic
#1A1F64 #272E95 #343DC5 #6168D5 #9196E2

Accessibility & contrast

On white

8.02
#343DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#343DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343DC5
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343DC5#FFFFFF#000000##FFFFFF
##343DC51.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.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: #343dc5;
/* rgb */ color: rgb(52, 61, 197);
/* oklch */ color: oklch(45.0% 0.207 271.8);
Tailwind
colors: {
  custom: {
    50: '#8173d8',
    500: '#343dc5',
    950: '#000000',
  },
}
SCSS
$custom: #343dc5;
$custom-light: #8173d8;
$custom-dark: #000000;
JSON
{
  "hex": "#343dc5",
  "rgb": {
    "r": 52,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 236.276,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.20687,
    "h": 271.8
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #343DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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