#345DA5#345DA5

#345DA5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.6% C 0.125 H 260.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#345DA5
RGBrgb(52, 93, 165)
HSLhsl(218, 52%, 43%)
HSVhsv(218, 68%, 65%)
CMYKcmyk(68.5%, 43.6%, 0%, 35.3%)
CIE-LABlab(40.04, 10.12, -43.11)
CIE-LCHlch(40.04, 44.28, 283.21°)
OKLaboklab(48.63% -0.0199 -0.1231)
OKLCHoklch(48.63% 0.125 260.8)
XYZxyz(12.1196, 11.2742, 37.1274)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DA5 #A57C34
analogous
#3496A5 #345DA5 #4334A5
triadic
#345DA5 #A5345D #5DA534
tetradic
#345DA5 #A53496 #A57C34 #34A543
square
#345DA5 #A53496 #A57C34 #34A543
split-complementary
#345DA5 #A54334 #96A534
monochromatic
#172948 #254376 #345DA5 #4F7BC7 #7D9ED6

Accessibility & contrast

On white

6.45
#345DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#345DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DA5
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DA5#FFFFFF#000000##FFFFFF
##345DA51.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B64A8
Deuteranopia (green-blind)
#285AA4
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345da5;
/* rgb */ color: rgb(52, 93, 165);
/* oklch */ color: oklch(48.6% 0.125 260.8);
Tailwind
colors: {
  custom: {
    50: '#788ac0',
    500: '#345da5',
    950: '#000000',
  },
}
SCSS
$custom: #345da5;
$custom-light: #788ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#345da5",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 165
  },
  "hsl": {
    "h": 218.23,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.12471,
    "h": 260.8
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#345DA5
secondary
#BFA476
accent
#A84CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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