#345CA3#345CA3

#345CA3 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.3% C 0.123 H 261.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#345CA3
RGBrgb(52, 92, 163)
HSLhsl(218, 52%, 42%)
HSVhsv(218, 68%, 64%)
CMYKcmyk(68.1%, 43.6%, 0%, 36.1%)
CIE-LABlab(39.63, 10.03, -42.58)
CIE-LCHlch(39.63, 43.74, 283.25°)
OKLaboklab(48.27% -0.0193 -0.1216)
OKLCHoklch(48.27% 0.123 261)
XYZxyz(11.8518, 11.0275, 36.1472)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA3 #A37B34
analogous
#3494A3 #345CA3 #4334A3
triadic
#345CA3 #A3345C #5CA334
tetradic
#345CA3 #A33494 #A37B34 #34A343
square
#345CA3 #A33494 #A37B34 #34A343
split-complementary
#345CA3 #A34334 #94A334
monochromatic
#162846 #254275 #345CA3 #4E79C6 #7C9CD5

Accessibility & contrast

On white

6.55
#345CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#345CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA3#FFFFFF#000000##FFFFFF
##345CA31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A63A6
Deuteranopia (green-blind)
#2859A2
Tritanopia (blue-blind)
#006C77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ca3;
/* rgb */ color: rgb(52, 92, 163);
/* oklch */ color: oklch(48.3% 0.123 261.0);
Tailwind
colors: {
  custom: {
    50: '#7889bf',
    500: '#345ca3',
    950: '#000000',
  },
}
SCSS
$custom: #345ca3;
$custom-light: #7889bf;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca3",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 163
  },
  "hsl": {
    "h": 218.378,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.1231,
    "h": 261
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#345CA3
secondary
#BEA475
accent
#A84DDB
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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