#345D9D#345D9D

#345D9D is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.1% C 0.113 H 259.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#345D9D
RGBrgb(52, 93, 157)
HSLhsl(217, 50%, 41%)
HSVhsv(217, 67%, 62%)
CMYKcmyk(66.9%, 40.8%, 0%, 38.4%)
CIE-LABlab(39.57, 7.17, -39.09)
CIE-LCHlch(39.57, 39.75, 280.39°)
OKLaboklab(48.11% -0.0216 -0.1113)
OKLCHoklch(48.11% 0.113 259)
XYZxyz(11.4142, 10.9920, 33.4119)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D9D #9D7434
analogous
#34919D #345D9D #3F349D
triadic
#345D9D #9D345D #5D9D34
tetradic
#345D9D #9D3491 #9D7434 #349D3F
square
#345D9D #9D3491 #9D7434 #349D3F
split-complementary
#345D9D #9D3F34 #919D34
monochromatic
#162741 #25426F #345D9D #4B7AC3 #799CD3

Accessibility & contrast

On white

6.57
#345D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345D9D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D9D#FFFFFF#000000##FFFFFF
##345D9D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A0
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#006C75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d9d;
/* rgb */ color: rgb(52, 93, 157);
/* oklch */ color: oklch(48.1% 0.113 259.0);
Tailwind
colors: {
  custom: {
    50: '#778aba',
    500: '#345d9d',
    950: '#000000',
  },
}
SCSS
$custom: #345d9d;
$custom-light: #778aba;
$custom-dark: #000000;
JSON
{
  "hex": "#345d9d",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 157
  },
  "hsl": {
    "h": 216.571,
    "s": 50.239,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48109,
    "c": 0.11342,
    "h": 259
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

primary
#345D9D
secondary
#BB9E72
accent
#A34EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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