#345CB5#345CB5

#345CB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.148 H 263.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#345CB5
RGBrgb(52, 92, 181)
HSLhsl(221, 55%, 46%)
HSVhsv(221, 71%, 71%)
CMYKcmyk(71.3%, 49.2%, 0%, 29%)
CIE-LABlab(40.77, 16.71, -51.38)
CIE-LCHlch(40.77, 54.03, 288.02°)
OKLaboklab(49.51% -0.0163 -0.1475)
OKLCHoklch(49.51% 0.148 263.7)
XYZxyz(13.5809, 11.7191, 45.2534)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CB5 #B58D34
analogous
#349CB5 #345CB5 #4C34B5
triadic
#345CB5 #B5345C #5CB534
tetradic
#345CB5 #B5349C #B58D34 #34B54C
square
#345CB5 #B5349C #B58D34 #34B54C
split-complementary
#345CB5 #B54C34 #9CB534
monochromatic
#192C56 #264485 #345CB5 #577CCF #87A1DC

Accessibility & contrast

On white

6.28
#345CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #345CB5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CB5#FFFFFF#000000##FFFFFF
##345CB51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #345cb5;
/* rgb */ color: rgb(52, 92, 181);
/* oklch */ color: oklch(49.5% 0.148 263.7);
Tailwind
colors: {
  custom: {
    50: '#7c89cc',
    500: '#345cb5',
    950: '#000000',
  },
}
SCSS
$custom: #345cb5;
$custom-light: #7c89cc;
$custom-dark: #000000;
JSON
{
  "hex": "#345cb5",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 221.395,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.14836,
    "h": 263.7
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

primary
#345CB5
secondary
#C6B07F
accent
#B049DF
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #345CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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