#345BA7#345BA7

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

Color values

HEX#345BA7
RGBrgb(52, 91, 167)
HSLhsl(220, 53%, 43%)
HSVhsv(220, 69%, 65%)
CMYKcmyk(68.9%, 45.5%, 0%, 34.5%)
CIE-LABlab(39.58, 12.16, -45.02)
CIE-LCHlch(39.58, 46.64, 285.11°)
OKLaboklab(48.32% -0.0176 -0.1288)
OKLCHoklch(48.32% 0.13 262.2)
XYZxyz(12.1298, 11.0010, 38.0359)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BA7 #A78034
analogous
#3494A7 #345BA7 #4634A7
triadic
#345BA7 #A7345B #5BA734
tetradic
#345BA7 #A73494 #A78034 #34A746
square
#345BA7 #A73494 #A78034 #34A746
split-complementary
#345BA7 #A74634 #94A734
monochromatic
#17284A #254278 #345BA7 #5079C8 #7E9CD7

Accessibility & contrast

On white

6.56
#345BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#345BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BA7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BA7#FFFFFF#000000##FFFFFF
##345BA71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#2058A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ba7;
/* rgb */ color: rgb(52, 91, 167);
/* oklch */ color: oklch(48.3% 0.130 262.2);
Tailwind
colors: {
  custom: {
    50: '#7988c2',
    500: '#345ba7',
    950: '#000000',
  },
}
SCSS
$custom: #345ba7;
$custom-light: #7988c2;
$custom-dark: #000000;
JSON
{
  "hex": "#345ba7",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 167
  },
  "hsl": {
    "h": 219.652,
    "s": 52.511,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.12998,
    "h": 262.2
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#345BA7
secondary
#C0A777
accent
#AB4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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