#345CB6#345CB6

#345CB6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.150 H 263.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#345CB6
RGBrgb(52, 92, 182)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 71%, 71%)
CMYKcmyk(71.4%, 49.5%, 0%, 28.6%)
CIE-LABlab(40.83, 17.09, -51.86)
CIE-LCHlch(40.83, 54.60, 288.24°)
OKLaboklab(49.58% -0.0162 -0.1489)
OKLCHoklch(49.58% 0.15 263.8)
XYZxyz(13.6838, 11.7603, 45.7957)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB6 #B68E34
analogous
#349DB6 #345CB6 #4D34B6
triadic
#345CB6 #B6345C #5CB634
tetradic
#345CB6 #B6349D #B68E34 #34B64D
square
#345CB6 #B6349D #B68E34 #34B64D
split-complementary
#345CB6 #B64D34 #9DB634
monochromatic
#192C57 #264486 #345CB6 #587DCF #88A2DD

Accessibility & contrast

On white

6.26
#345CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#345CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB6
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB6#FFFFFF#000000##FFFFFF
##345CB61.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb6;
/* rgb */ color: rgb(52, 92, 182);
/* oklch */ color: oklch(49.6% 0.150 263.8);
Tailwind
colors: {
  custom: {
    50: '#7c89cc',
    500: '#345cb6',
    950: '#000000',
  },
}
SCSS
$custom: #345cb6;
$custom-light: #7c89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb6",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 182
  },
  "hsl": {
    "h": 221.538,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49584,
    "c": 0.14975,
    "h": 263.8
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#345CB6
secondary
#C7B17F
accent
#B149DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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