#345AA6#345AA6

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

Color values

HEX#345AA6
RGBrgb(52, 90, 166)
HSLhsl(220, 52%, 43%)
HSVhsv(220, 69%, 65%)
CMYKcmyk(68.7%, 45.8%, 0%, 34.9%)
CIE-LABlab(39.23, 12.43, -44.99)
CIE-LCHlch(39.23, 46.68, 285.45°)
OKLaboklab(48.03% -0.0168 -0.1287)
OKLCHoklch(48.03% 0.13 262.6)
XYZxyz(11.9528, 10.7944, 37.5226)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA6 #A68034
analogous
#3493A6 #345AA6 #4734A6
triadic
#345AA6 #A6345A #5AA634
tetradic
#345AA6 #A63493 #A68034 #34A647
square
#345AA6 #A63493 #A68034 #34A647
split-complementary
#345AA6 #A64734 #93A634
monochromatic
#172749 #254177 #345AA6 #4F77C8 #7E9BD7

Accessibility & contrast

On white

6.65
#345AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#345AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AA6
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA6#FFFFFF#000000##FFFFFF
##345AA61.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#1F58A4
Tritanopia (blue-blind)
#006C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345aa6;
/* rgb */ color: rgb(52, 90, 166);
/* oklch */ color: oklch(48.0% 0.130 262.6);
Tailwind
colors: {
  custom: {
    50: '#7988c1',
    500: '#345aa6',
    950: '#000000',
  },
}
SCSS
$custom: #345aa6;
$custom-light: #7988c1;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa6",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 166
  },
  "hsl": {
    "h": 220,
    "s": 52.294,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.12979,
    "h": 262.6
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

primary
#345AA6
secondary
#C0A776
accent
#AC4CDC
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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