#345CBB#345CBB

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

Color values

HEX#345CBB
RGBrgb(52, 92, 187)
HSLhsl(222, 56%, 47%)
HSVhsv(222, 72%, 73%)
CMYKcmyk(72.2%, 50.8%, 0%, 26.7%)
CIE-LABlab(41.17, 18.95, -54.24)
CIE-LCHlch(41.17, 57.46, 289.26°)
OKLaboklab(49.95% -0.0156 -0.1559)
OKLCHoklch(49.95% 0.157 264.3)
XYZxyz(14.2098, 11.9707, 48.5658)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CBB #BB9334
analogous
#34A0BB #345CBB #5034BB
triadic
#345CBB #BB345C #5CBB34
tetradic
#345CBB #BB34A0 #BB9334 #34BB50
square
#345CBB #BB34A0 #BB9334 #34BB50
split-complementary
#345CBB #BB5034 #A0BB34
monochromatic
#192D5B #27448B #345CBB #5B7ED1 #8BA4DF

Accessibility & contrast

On white

6.19
#345CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345CBB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CBB#FFFFFF#000000##FFFFFF
##345CBB1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345cbb;
/* rgb */ color: rgb(52, 92, 187);
/* oklch */ color: oklch(49.9% 0.157 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d89d0',
    500: '#345cbb',
    950: '#000000',
  },
}
SCSS
$custom: #345cbb;
$custom-light: #7d89d0;
$custom-dark: #000000;
JSON
{
  "hex": "#345cbb",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 222.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.15666,
    "h": 264.3
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#345CBB
secondary
#C9B482
accent
#B348E0
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #345CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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