#345CBD#345CBD

#345CBD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.159 H 264.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#345CBD
RGBrgb(52, 92, 189)
HSLhsl(222, 57%, 47%)
HSVhsv(222, 72%, 74%)
CMYKcmyk(72.5%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.31, 19.70, -55.19)
CIE-LCHlch(41.31, 58.60, 289.64°)
OKLaboklab(50.1% -0.0154 -0.1587)
OKLCHoklch(50.1% 0.159 264.5)
XYZxyz(14.4254, 12.0569, 49.7012)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CBD #BD9534
analogous
#34A0BD #345CBD #5134BD
triadic
#345CBD #BD345C #5CBD34
tetradic
#345CBD #BD34A0 #BD9534 #34BD51
square
#345CBD #BD34A0 #BD9534 #34BD51
split-complementary
#345CBD #BD5134 #A0BD34
monochromatic
#1A2D5D #27458D #345CBD #5C7FD2 #8CA4DF

Accessibility & contrast

On white

6.16
#345CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#345CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CBD#FFFFFF#000000##FFFFFF
##345CBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cbd;
/* rgb */ color: rgb(52, 92, 189);
/* oklch */ color: oklch(50.1% 0.159 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d89d1',
    500: '#345cbd',
    950: '#000000',
  },
}
SCSS
$custom: #345cbd;
$custom-light: #7d89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#345cbd",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 222.482,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.15941,
    "h": 264.5
  },
  "luminance": 0.12058
}

Semantic roles & 50–950 ramp

primary
#345CBD
secondary
#CAB583
accent
#B448E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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