#345AA5#345AA5

#345AA5 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.0% C 0.128 H 262.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#345AA5
RGBrgb(52, 90, 165)
HSLhsl(220, 52%, 43%)
HSVhsv(220, 68%, 65%)
CMYKcmyk(68.5%, 45.5%, 0%, 35.3%)
CIE-LABlab(39.17, 12.06, -44.50)
CIE-LCHlch(39.17, 46.10, 285.17°)
OKLaboklab(47.96% -0.017 -0.1272)
OKLCHoklch(47.96% 0.128 262.4)
XYZxyz(11.8615, 10.7578, 37.0414)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA5 #A57F34
analogous
#3493A5 #345AA5 #4634A5
triadic
#345AA5 #A5345A #5AA534
tetradic
#345AA5 #A53493 #A57F34 #34A546
square
#345AA5 #A53493 #A57F34 #34A546
split-complementary
#345AA5 #A54634 #93A534
monochromatic
#172748 #254176 #345AA5 #4F77C7 #7D9BD6

Accessibility & contrast

On white

6.66
#345AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#345AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AA5
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA5#FFFFFF#000000##FFFFFF
##345AA51.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#2157A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345aa5;
/* rgb */ color: rgb(52, 90, 165);
/* oklch */ color: oklch(48.0% 0.128 262.4);
Tailwind
colors: {
  custom: {
    50: '#7888c0',
    500: '#345aa5',
    950: '#000000',
  },
}
SCSS
$custom: #345aa5;
$custom-light: #7888c0;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa5",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 165
  },
  "hsl": {
    "h": 219.823,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47957,
    "c": 0.12838,
    "h": 262.4
  },
  "luminance": 0.10759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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