#345DB7#345DB7

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

Color values

HEX#345DB7
RGBrgb(52, 93, 183)
HSLhsl(221, 56%, 46%)
HSVhsv(221, 72%, 72%)
CMYKcmyk(71.6%, 49.2%, 0%, 28.2%)
CIE-LABlab(41.18, 16.81, -51.89)
CIE-LCHlch(41.18, 54.54, 287.95°)
OKLaboklab(49.87% -0.017 -0.1489)
OKLCHoklch(49.87% 0.15 263.5)
XYZxyz(13.8747, 11.9762, 46.3710)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DB7 #B78E34
analogous
#349EB7 #345DB7 #4C34B7
triadic
#345DB7 #B7345D #5DB734
tetradic
#345DB7 #B7349E #B78E34 #34B74C
square
#345DB7 #B7349E #B78E34 #34B74C
split-complementary
#345DB7 #B74C34 #9EB734
monochromatic
#192D58 #264587 #345DB7 #597ED0 #88A3DD

Accessibility & contrast

On white

6.18
#345DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345DB7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DB7#FFFFFF#000000##FFFFFF
##345DB71.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345db7;
/* rgb */ color: rgb(52, 93, 183);
/* oklch */ color: oklch(49.9% 0.150 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c8acd',
    500: '#345db7',
    950: '#000000',
  },
}
SCSS
$custom: #345db7;
$custom-light: #7c8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#345db7",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 221.221,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.1499,
    "h": 263.5
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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