#345CB4#345CB4

#345CB4 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.147 H 263.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#345CB4
RGBrgb(52, 92, 180)
HSLhsl(221, 55%, 45%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.1%, 48.9%, 0%, 29.4%)
CIE-LABlab(40.70, 16.34, -50.90)
CIE-LCHlch(40.70, 53.46, 287.80°)
OKLaboklab(49.44% -0.0165 -0.1461)
OKLCHoklch(49.44% 0.147 263.6)
XYZxyz(13.4786, 11.6782, 44.7149)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB4 #B48C34
analogous
#349CB4 #345CB4 #4C34B4
triadic
#345CB4 #B4345C #5CB434
tetradic
#345CB4 #B4349C #B48C34 #34B44C
square
#345CB4 #B4349C #B48C34 #34B44C
split-complementary
#345CB4 #B44C34 #9CB434
monochromatic
#192B55 #264485 #345CB4 #577CCE #86A1DC

Accessibility & contrast

On white

6.29
#345CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#345CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CB4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB4#FFFFFF#000000##FFFFFF
##345CB41.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B7
Deuteranopia (green-blind)
#025AB2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb4;
/* rgb */ color: rgb(52, 92, 180);
/* oklch */ color: oklch(49.4% 0.147 263.6);
Tailwind
colors: {
  custom: {
    50: '#7b89cb',
    500: '#345cb4',
    950: '#000000',
  },
}
SCSS
$custom: #345cb4;
$custom-light: #7b89cb;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb4",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 221.25,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.14698,
    "h": 263.6
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#345CB4
secondary
#C6AF7E
accent
#B049DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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