#345CC7#345CC7

#345CC7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.9% C 0.173 H 265.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#345CC7
RGBrgb(52, 92, 199)
HSLhsl(224, 59%, 49%)
HSVhsv(224, 74%, 78%)
CMYKcmyk(73.9%, 53.8%, 0%, 22%)
CIE-LABlab(42.01, 23.41, -59.86)
CIE-LCHlch(42.01, 64.27, 291.36°)
OKLaboklab(50.85% -0.0144 -0.1724)
OKLCHoklch(50.85% 0.173 265.2)
XYZxyz(15.5485, 12.5062, 55.6162)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC7 #C79F34
analogous
#34A6C7 #345CC7 #5534C7
triadic
#345CC7 #C7345C #5CC734
tetradic
#345CC7 #C734A6 #C79F34 #34C755
square
#345CC7 #C734A6 #C79F34 #34C755
split-complementary
#345CC7 #C75534 #A6C734
monochromatic
#1B2F66 #274696 #345CC7 #6282D6 #93A8E3

Accessibility & contrast

On white

6.00
#345CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#345CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC7#FFFFFF#000000##FFFFFF
##345CC71.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ACB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345cc7;
/* rgb */ color: rgb(52, 92, 199);
/* oklch */ color: oklch(50.9% 0.173 265.2);
Tailwind
colors: {
  custom: {
    50: '#7f89d9',
    500: '#345cc7',
    950: '#000000',
  },
}
SCSS
$custom: #345cc7;
$custom-light: #7f89d9;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc7",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 223.673,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50852,
    "c": 0.173,
    "h": 265.2
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#345CC7
secondary
#CEBB89
accent
#B746E2
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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