#345FB4#345FB4

#345FB4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.143 H 262.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#345FB4
RGBrgb(52, 95, 180)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 71%)
CMYKcmyk(71.1%, 47.2%, 0%, 29.4%)
CIE-LABlab(41.55, 14.40, -49.54)
CIE-LCHlch(41.55, 51.59, 286.20°)
OKLaboklab(50.09% -0.0192 -0.142)
OKLCHoklch(50.09% 0.143 262.3)
XYZxyz(13.7437, 12.2083, 44.8033)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345FB4 #B48934
analogous
#349FB4 #345FB4 #4934B4
triadic
#345FB4 #B4345F #5FB434
tetradic
#345FB4 #B4349F #B48934 #34B449
square
#345FB4 #B4349F #B48934 #34B449
split-complementary
#345FB4 #B44934 #9FB434
monochromatic
#192D55 #264685 #345FB4 #577FCE #86A3DC

Accessibility & contrast

On white

6.10
#345FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#345FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345FB4
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345FB4#FFFFFF#000000##FFFFFF
##345FB41.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B7
Deuteranopia (green-blind)
#145CB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345fb4;
/* rgb */ color: rgb(52, 95, 180);
/* oklch */ color: oklch(50.1% 0.143 262.3);
Tailwind
colors: {
  custom: {
    50: '#7b8bcb',
    500: '#345fb4',
    950: '#000000',
  },
}
SCSS
$custom: #345fb4;
$custom-light: #7b8bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#345fb4",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 180
  },
  "hsl": {
    "h": 219.844,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.14329,
    "h": 262.3
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#345FB4
secondary
#C6AE7E
accent
#AC49DF
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #345FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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