#345BC1#345BC1

#345BC1 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.166 H 265.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#345BC1
RGBrgb(52, 91, 193)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.1%, 52.8%, 0%, 24.3%)
CIE-LABlab(41.31, 21.83, -57.51)
CIE-LCHlch(41.31, 61.51, 290.79°)
OKLaboklab(50.19% -0.0141 -0.1655)
OKLCHoklch(50.19% 0.166 265.1)
XYZxyz(14.7795, 12.0609, 51.9908)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BC1 #C19A34
analogous
#34A1C1 #345BC1 #5334C1
triadic
#345BC1 #C1345B #5BC134
tetradic
#345BC1 #C134A1 #C19A34 #34C153
square
#345BC1 #C134A1 #C19A34 #34C153
split-complementary
#345BC1 #C15334 #A1C134
monochromatic
#1A2E61 #274491 #345BC1 #5E7FD4 #8FA5E1

Accessibility & contrast

On white

6.15
#345BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#345BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BC1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BC1#FFFFFF#000000##FFFFFF
##345BC11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345bc1;
/* rgb */ color: rgb(52, 91, 193);
/* oklch */ color: oklch(50.2% 0.166 265.1);
Tailwind
colors: {
  custom: {
    50: '#7e88d4',
    500: '#345bc1',
    950: '#000000',
  },
}
SCSS
$custom: #345bc1;
$custom-light: #7e88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#345bc1",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 193
  },
  "hsl": {
    "h": 223.404,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.1661,
    "h": 265.1
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#345BC1
secondary
#CBB886
accent
#B647E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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