#345FB6#345FB6

#345FB6 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.2% C 0.146 H 262.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#345FB6
RGBrgb(52, 95, 182)
HSLhsl(220, 56%, 46%)
HSVhsv(220, 71%, 71%)
CMYKcmyk(71.4%, 47.8%, 0%, 28.6%)
CIE-LABlab(41.67, 15.14, -50.51)
CIE-LCHlch(41.67, 52.73, 286.69°)
OKLaboklab(50.23% -0.0189 -0.1448)
OKLCHoklch(50.23% 0.146 262.6)
XYZxyz(13.9489, 12.2904, 45.8841)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB6 #B68B34
analogous
#34A0B6 #345FB6 #4A34B6
triadic
#345FB6 #B6345F #5FB634
tetradic
#345FB6 #B634A0 #B68B34 #34B64A
square
#345FB6 #B634A0 #B68B34 #34B64A
split-complementary
#345FB6 #B64A34 #A0B634
monochromatic
#192D57 #264686 #345FB6 #587FCF #88A4DD

Accessibility & contrast

On white

6.07
#345FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB6#FFFFFF#000000##FFFFFF
##345FB61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3069B9
Deuteranopia (green-blind)
#0E5DB4
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb6;
/* rgb */ color: rgb(52, 95, 182);
/* oklch */ color: oklch(50.2% 0.146 262.6);
Tailwind
colors: {
  custom: {
    50: '#7c8bcc',
    500: '#345fb6',
    950: '#000000',
  },
}
SCSS
$custom: #345fb6;
$custom-light: #7c8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb6",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 182
  },
  "hsl": {
    "h": 220.154,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.14607,
    "h": 262.6
  },
  "luminance": 0.12292
}

Semantic roles & 50–950 ramp

primary
#345FB6
secondary
#C7AF7F
accent
#AD49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #345FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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