#345CB2#345CB2

#345CB2 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.144 H 263.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#345CB2
RGBrgb(52, 92, 178)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 70%)
CMYKcmyk(70.8%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.57, 15.60, -49.94)
CIE-LCHlch(40.57, 52.32, 287.35°)
OKLaboklab(49.3% -0.0168 -0.1432)
OKLCHoklch(49.3% 0.144 263.3)
XYZxyz(13.2764, 11.5973, 43.6497)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB2 #B28A34
analogous
#349BB2 #345CB2 #4B34B2
triadic
#345CB2 #B2345C #5CB234
tetradic
#345CB2 #B2349B #B28A34 #34B24B
square
#345CB2 #B2349B #B28A34 #34B24B
split-complementary
#345CB2 #B24B34 #9BB234
monochromatic
#182B53 #264483 #345CB2 #567CCE #85A0DB

Accessibility & contrast

On white

6.33
#345CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#345CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB2#FFFFFF#000000##FFFFFF
##345CB21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#0B5AB0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb2;
/* rgb */ color: rgb(52, 92, 178);
/* oklch */ color: oklch(49.3% 0.144 263.3);
Tailwind
colors: {
  custom: {
    50: '#7b89ca',
    500: '#345cb2',
    950: '#000000',
  },
}
SCSS
$custom: #345cb2;
$custom-light: #7b89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb2",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 220.952,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.14419,
    "h": 263.3
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#345CB2
secondary
#C5AE7D
accent
#AF4ADE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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