#343FC2#343FC2

#343FC2 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.0% C 0.201 H 271.6°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#343FC2
RGBrgb(52, 63, 194)
HSLhsl(235, 58%, 48%)
HSVhsv(235, 73%, 76%)
CMYKcmyk(73.2%, 67.5%, 0%, 23.9%)
CIE-LABlab(34.35, 40.10, -69.44)
CIE-LCHlch(34.35, 80.19, 300.01°)
OKLaboklab(45.05% 0.0055 -0.2008)
OKLCHoklch(45.05% 0.201 271.6)
XYZxyz(12.9280, 8.1788, 51.9258)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#343FC2 #C2B734
analogous
#3486C2 #343FC2 #7034C2
triadic
#343FC2 #C2343F #3FC234
tetradic
#343FC2 #C23486 #C2B734 #34C270
square
#343FC2 #C23486 #C2B734 #34C270
split-complementary
#343FC2 #C27034 #86C234
monochromatic
#1A2061 #272F92 #343FC2 #5F68D4 #8F96E1

Accessibility & contrast

On white

7.97
#343FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#343FC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #343FC2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##343FC2#FFFFFF#000000##FFFFFF
##343FC21.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00627B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #343fc2;
/* rgb */ color: rgb(52, 63, 194);
/* oklch */ color: oklch(45.0% 0.201 271.6);
Tailwind
colors: {
  custom: {
    50: '#8074d6',
    500: '#343fc2',
    950: '#000000',
  },
}
SCSS
$custom: #343fc2;
$custom-light: #8074d6;
$custom-dark: #000000;
JSON
{
  "hex": "#343fc2",
  "rgb": {
    "r": 52,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 235.352,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45045,
    "c": 0.20092,
    "h": 271.6
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#343FC2
secondary
#CCC686
accent
#D547E1
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #343FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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