#345CB9#345CB9

#345CB9 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.154 H 264.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#345CB9
RGBrgb(52, 92, 185)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 72%, 73%)
CMYKcmyk(71.9%, 50.3%, 0%, 27.5%)
CIE-LABlab(41.03, 18.20, -53.29)
CIE-LCHlch(41.03, 56.32, 288.86°)
OKLaboklab(49.8% -0.0158 -0.1531)
OKLCHoklch(49.8% 0.154 264.1)
XYZxyz(13.9972, 11.8857, 47.4460)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB9 #B99134
analogous
#349FB9 #345CB9 #4F34B9
triadic
#345CB9 #B9345C #5CB934
tetradic
#345CB9 #B9349F #B99134 #34B94F
square
#345CB9 #B9349F #B99134 #34B94F
split-complementary
#345CB9 #B94F34 #9FB934
monochromatic
#192C59 #274489 #345CB9 #5A7DD1 #89A3DE

Accessibility & contrast

On white

6.22
#345CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#345CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB9#FFFFFF#000000##FFFFFF
##345CB91.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2567BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cb9;
/* rgb */ color: rgb(52, 92, 185);
/* oklch */ color: oklch(49.8% 0.154 264.1);
Tailwind
colors: {
  custom: {
    50: '#7c89cf',
    500: '#345cb9',
    950: '#000000',
  },
}
SCSS
$custom: #345cb9;
$custom-light: #7c89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb9",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 221.955,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49801,
    "c": 0.15391,
    "h": 264.1
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#345CB9
secondary
#C8B381
accent
#B248DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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