#345BA5#345BA5

#345BA5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.127 H 261.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#345BA5
RGBrgb(52, 91, 165)
HSLhsl(219, 52%, 43%)
HSVhsv(219, 68%, 65%)
CMYKcmyk(68.5%, 44.8%, 0%, 35.3%)
CIE-LABlab(39.46, 11.41, -44.03)
CIE-LCHlch(39.46, 45.49, 284.53°)
OKLaboklab(48.18% -0.018 -0.1259)
OKLCHoklch(48.18% 0.127 261.9)
XYZxyz(11.9464, 10.9277, 37.0697)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BA5 #A57E34
analogous
#3494A5 #345BA5 #4534A5
triadic
#345BA5 #A5345B #5BA534
tetradic
#345BA5 #A53494 #A57E34 #34A545
square
#345BA5 #A53494 #A57E34 #34A545
split-complementary
#345BA5 #A54534 #94A534
monochromatic
#172848 #254176 #345BA5 #4F78C7 #7D9CD6

Accessibility & contrast

On white

6.59
#345BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#345BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BA5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BA5#FFFFFF#000000##FFFFFF
##345BA51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A8
Deuteranopia (green-blind)
#2358A3
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ba5;
/* rgb */ color: rgb(52, 91, 165);
/* oklch */ color: oklch(48.2% 0.127 261.9);
Tailwind
colors: {
  custom: {
    50: '#7888c0',
    500: '#345ba5',
    950: '#000000',
  },
}
SCSS
$custom: #345ba5;
$custom-light: #7888c0;
$custom-dark: #000000;
JSON
{
  "hex": "#345ba5",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 165
  },
  "hsl": {
    "h": 219.292,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.12714,
    "h": 261.9
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#345BA5
secondary
#BFA676
accent
#AA4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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