#345D9A#345D9A

#345D9A is a mid, moderate blue. Relative luminance 0.109; OKLCH L 47.9% C 0.109 H 258.2°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#345D9A
RGBrgb(52, 93, 154)
HSLhsl(216, 50%, 40%)
HSVhsv(216, 66%, 60%)
CMYKcmyk(66.2%, 39.6%, 0%, 39.6%)
CIE-LABlab(39.40, 6.07, -37.57)
CIE-LCHlch(39.40, 38.06, 279.18°)
OKLaboklab(47.92% -0.0223 -0.1069)
OKLCHoklch(47.92% 0.109 258.2)
XYZxyz(11.1612, 10.8908, 32.0795)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D9A #9A7134
analogous
#34909A #345D9A #3E349A
triadic
#345D9A #9A345D #5D9A34
tetradic
#345D9A #9A3490 #9A7134 #349A3E
square
#345D9A #9A3490 #9A7134 #349A3E
split-complementary
#345D9A #9A3E34 #909A34
monochromatic
#15263E #25416C #345D9A #497AC2 #779BD1

Accessibility & contrast

On white

6.61
#345D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#345D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D9A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D9A#FFFFFF#000000##FFFFFF
##345D9A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#335899
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d9a;
/* rgb */ color: rgb(52, 93, 154);
/* oklch */ color: oklch(47.9% 0.109 258.2);
Tailwind
colors: {
  custom: {
    50: '#768ab8',
    500: '#345d9a',
    950: '#000000',
  },
}
SCSS
$custom: #345d9a;
$custom-light: #768ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#345d9a",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 154
  },
  "hsl": {
    "h": 215.882,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47921,
    "c": 0.10918,
    "h": 258.2
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#345D9A
secondary
#BA9C70
accent
#A14FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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