#345BB6#345BB6

#345BB6 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.4% C 0.151 H 264.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#345BB6
RGBrgb(52, 91, 182)
HSLhsl(222, 56%, 46%)
HSVhsv(222, 71%, 71%)
CMYKcmyk(71.4%, 50%, 0%, 28.6%)
CIE-LABlab(40.55, 17.74, -52.31)
CIE-LCHlch(40.55, 55.24, 288.73°)
OKLaboklab(49.37% -0.0153 -0.1502)
OKLCHoklch(49.37% 0.151 264.2)
XYZxyz(13.5978, 11.5882, 45.7670)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BB6 #B68F34
analogous
#349CB6 #345BB6 #4E34B6
triadic
#345BB6 #B6345B #5BB634
tetradic
#345BB6 #B6349C #B68F34 #34B64E
square
#345BB6 #B6349C #B68F34 #34B64E
split-complementary
#345BB6 #B64E34 #9CB634
monochromatic
#192B57 #264386 #345BB6 #587CCF #88A1DD

Accessibility & contrast

On white

6.33
#345BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#345BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BB6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BB6#FFFFFF#000000##FFFFFF
##345BB61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345bb6;
/* rgb */ color: rgb(52, 91, 182);
/* oklch */ color: oklch(49.4% 0.151 264.2);
Tailwind
colors: {
  custom: {
    50: '#7c88cc',
    500: '#345bb6',
    950: '#000000',
  },
}
SCSS
$custom: #345bb6;
$custom-light: #7c88cc;
$custom-dark: #000000;
JSON
{
  "hex": "#345bb6",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 222,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49371,
    "c": 0.15099,
    "h": 264.2
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#345BB6
secondary
#C7B17F
accent
#B249DF
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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