#345EB6#345EB6

#345EB6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.0% C 0.147 H 263.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#345EB6
RGBrgb(52, 94, 182)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.4%, 48.4%, 0%, 28.6%)
CIE-LABlab(41.39, 15.79, -50.96)
CIE-LCHlch(41.39, 53.35, 287.22°)
OKLaboklab(50.01% -0.018 -0.1462)
OKLCHoklch(50.01% 0.147 263)
XYZxyz(13.8594, 12.1114, 45.8542)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345EB6 #B68C34
analogous
#349FB6 #345EB6 #4B34B6
triadic
#345EB6 #B6345E #5EB634
tetradic
#345EB6 #B6349F #B68C34 #34B64B
square
#345EB6 #B6349F #B68C34 #34B64B
split-complementary
#345EB6 #B64B34 #9FB634
monochromatic
#192D57 #264586 #345EB6 #587ECF #88A3DD

Accessibility & contrast

On white

6.14
#345EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#345EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345EB6
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345EB6#FFFFFF#000000##FFFFFF
##345EB61.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B9
Deuteranopia (green-blind)
#085CB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345eb6;
/* rgb */ color: rgb(52, 94, 182);
/* oklch */ color: oklch(50.0% 0.147 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c8bcc',
    500: '#345eb6',
    950: '#000000',
  },
}
SCSS
$custom: #345eb6;
$custom-light: #7c8bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#345eb6",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 220.615,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.14729,
    "h": 263
  },
  "luminance": 0.12113
}

Semantic roles & 50–950 ramp

primary
#345EB6
secondary
#C7B07F
accent
#AE49DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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