#345CC2#345CC2

#345CC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.166 H 264.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#345CC2
RGBrgb(52, 92, 194)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.2%, 52.6%, 0%, 23.9%)
CIE-LABlab(41.65, 21.56, -57.53)
CIE-LCHlch(41.65, 61.44, 290.54°)
OKLaboklab(50.47% -0.0148 -0.1656)
OKLCHoklch(50.47% 0.166 264.9)
XYZxyz(14.9775, 12.2778, 52.6090)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC2 #C29A34
analogous
#34A3C2 #345CC2 #5334C2
triadic
#345CC2 #C2345C #5CC234
tetradic
#345CC2 #C234A3 #C29A34 #34C253
square
#345CC2 #C234A3 #C29A34 #34C253
split-complementary
#345CC2 #C25334 #A3C234
monochromatic
#1A2E61 #274592 #345CC2 #5F80D4 #8FA6E1

Accessibility & contrast

On white

6.08
#345CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC2#FFFFFF#000000##FFFFFF
##345CC21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1569C6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345cc2;
/* rgb */ color: rgb(52, 92, 194);
/* oklch */ color: oklch(50.5% 0.166 264.9);
Tailwind
colors: {
  custom: {
    50: '#7e89d5',
    500: '#345cc2',
    950: '#000000',
  },
}
SCSS
$custom: #345cc2;
$custom-light: #7e89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc2",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 223.099,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50471,
    "c": 0.16623,
    "h": 264.9
  },
  "luminance": 0.12279
}

Semantic roles & 50–950 ramp

primary
#345CC2
secondary
#CCB886
accent
#B647E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345CC2

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

Preview Lab → · Contrast checker → · Palette generator →

#345CC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva