#345CA7#345CA7

#345CA7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.5% C 0.129 H 261.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#345CA7
RGBrgb(52, 92, 167)
HSLhsl(219, 53%, 43%)
HSVhsv(219, 69%, 65%)
CMYKcmyk(68.9%, 44.9%, 0%, 34.5%)
CIE-LABlab(39.87, 11.51, -44.56)
CIE-LCHlch(39.87, 46.02, 284.48°)
OKLaboklab(48.54% -0.0186 -0.1274)
OKLCHoklch(48.54% 0.129 261.7)
XYZxyz(12.2159, 11.1731, 38.0646)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA7 #A77F34
analogous
#3495A7 #345CA7 #4534A7
triadic
#345CA7 #A7345C #5CA734
tetradic
#345CA7 #A73495 #A77F34 #34A745
square
#345CA7 #A73495 #A77F34 #34A745
split-complementary
#345CA7 #A74534 #95A734
monochromatic
#17294A #254278 #345CA7 #507AC8 #7E9DD7

Accessibility & contrast

On white

6.49
#345CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#345CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA7#FFFFFF#000000##FFFFFF
##345CA71.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3764AA
Deuteranopia (green-blind)
#2359A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ca7;
/* rgb */ color: rgb(52, 92, 167);
/* oklch */ color: oklch(48.5% 0.129 261.7);
Tailwind
colors: {
  custom: {
    50: '#7989c1',
    500: '#345ca7',
    950: '#000000',
  },
}
SCSS
$custom: #345ca7;
$custom-light: #7989c1;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca7",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 219.13,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48537,
    "c": 0.12876,
    "h": 261.7
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#345CA7
secondary
#C0A777
accent
#AA4CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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