#345CA5#345CA5

#345CA5 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.126 H 261.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#345CA5
RGBrgb(52, 92, 165)
HSLhsl(219, 52%, 43%)
HSVhsv(219, 68%, 65%)
CMYKcmyk(68.5%, 44.2%, 0%, 35.3%)
CIE-LABlab(39.75, 10.77, -43.57)
CIE-LCHlch(39.75, 44.88, 283.88°)
OKLaboklab(48.4% -0.019 -0.1245)
OKLCHoklch(48.4% 0.126 261.3)
XYZxyz(12.0324, 11.0998, 37.0984)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA5 #A57D34
analogous
#3495A5 #345CA5 #4434A5
triadic
#345CA5 #A5345C #5CA534
tetradic
#345CA5 #A53495 #A57D34 #34A544
square
#345CA5 #A53495 #A57D34 #34A544
split-complementary
#345CA5 #A54434 #95A534
monochromatic
#172848 #254276 #345CA5 #4F79C7 #7D9DD6

Accessibility & contrast

On white

6.52
#345CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#345CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA5#FFFFFF#000000##FFFFFF
##345CA51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#2659A4
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345ca5;
/* rgb */ color: rgb(52, 92, 165);
/* oklch */ color: oklch(48.4% 0.126 261.3);
Tailwind
colors: {
  custom: {
    50: '#7889c0',
    500: '#345ca5',
    950: '#000000',
  },
}
SCSS
$custom: #345ca5;
$custom-light: #7889c0;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca5",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 165
  },
  "hsl": {
    "h": 218.761,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48403,
    "c": 0.12592,
    "h": 261.3
  },
  "luminance": 0.11101
}

Semantic roles & 50–950 ramp

primary
#345CA5
secondary
#BFA576
accent
#A94CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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