#345DB6#345DB6

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

Color values

HEX#345DB6
RGBrgb(52, 93, 182)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.4%, 48.9%, 0%, 28.6%)
CIE-LABlab(41.11, 16.44, -51.41)
CIE-LCHlch(41.11, 53.97, 287.73°)
OKLaboklab(49.8% -0.0171 -0.1475)
OKLCHoklch(49.8% 0.149 263.4)
XYZxyz(13.7710, 11.9347, 45.8248)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB6 #B68D34
analogous
#349EB6 #345DB6 #4C34B6
triadic
#345DB6 #B6345D #5DB634
tetradic
#345DB6 #B6349E #B68D34 #34B64C
square
#345DB6 #B6349E #B68D34 #34B64C
split-complementary
#345DB6 #B64C34 #9EB634
monochromatic
#192C57 #264586 #345DB6 #587ECF #88A2DD

Accessibility & contrast

On white

6.20
#345DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#345DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB6#FFFFFF#000000##FFFFFF
##345DB61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B67B9
Deuteranopia (green-blind)
#015BB4
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db6;
/* rgb */ color: rgb(52, 93, 182);
/* oklch */ color: oklch(49.8% 0.149 263.4);
Tailwind
colors: {
  custom: {
    50: '#7c8acc',
    500: '#345db6',
    950: '#000000',
  },
}
SCSS
$custom: #345db6;
$custom-light: #7c8acc;
$custom-dark: #000000;
JSON
{
  "hex": "#345db6",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 221.077,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.14852,
    "h": 263.4
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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