#345DB8#345DB8

#345DB8 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.151 H 263.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#345DB8
RGBrgb(52, 93, 184)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 72%)
CMYKcmyk(71.7%, 49.5%, 0%, 27.8%)
CIE-LABlab(41.24, 17.18, -52.37)
CIE-LCHlch(41.24, 55.12, 288.17°)
OKLaboklab(49.94% -0.0168 -0.1504)
OKLCHoklch(49.94% 0.151 263.6)
XYZxyz(13.9792, 12.0180, 46.9211)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB8 #B88F34
analogous
#349FB8 #345DB8 #4D34B8
triadic
#345DB8 #B8345D #5DB834
tetradic
#345DB8 #B8349F #B88F34 #34B84D
square
#345DB8 #B8349F #B88F34 #34B84D
split-complementary
#345DB8 #B84D34 #9FB834
monochromatic
#192D59 #274588 #345DB8 #597ED0 #89A3DE

Accessibility & contrast

On white

6.17
#345DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#345DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DB8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB8#FFFFFF#000000##FFFFFF
##345DB81.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2968BB
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db8;
/* rgb */ color: rgb(52, 93, 184);
/* oklch */ color: oklch(49.9% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#7c8ace',
    500: '#345db8',
    950: '#000000',
  },
}
SCSS
$custom: #345db8;
$custom-light: #7c8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#345db8",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 221.364,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.15129,
    "h": 263.6
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#345DB8
secondary
#C8B180
accent
#B049DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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