#345CC1#345CC1

#345CC1 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.165 H 264.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#345CC1
RGBrgb(52, 92, 193)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.1%, 52.3%, 0%, 24.3%)
CIE-LABlab(41.58, 21.18, -57.07)
CIE-LCHlch(41.58, 60.87, 290.37°)
OKLaboklab(50.4% -0.0149 -0.1642)
OKLCHoklch(50.4% 0.165 264.8)
XYZxyz(14.8656, 12.2330, 52.0195)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC1 #C19934
analogous
#34A2C1 #345CC1 #5334C1
triadic
#345CC1 #C1345C #5CC134
tetradic
#345CC1 #C134A2 #C19934 #34C153
square
#345CC1 #C134A2 #C19934 #34C153
split-complementary
#345CC1 #C15334 #A2C134
monochromatic
#1A2E61 #274591 #345CC1 #5E80D4 #8FA6E1

Accessibility & contrast

On white

6.09
#345CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#345CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC1#FFFFFF#000000##FFFFFF
##345CC11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1769C5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345cc1;
/* rgb */ color: rgb(52, 92, 193);
/* oklch */ color: oklch(50.4% 0.165 264.8);
Tailwind
colors: {
  custom: {
    50: '#7e89d4',
    500: '#345cc1',
    950: '#000000',
  },
}
SCSS
$custom: #345cc1;
$custom-light: #7e89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc1",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 193
  },
  "hsl": {
    "h": 222.979,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50395,
    "c": 0.16488,
    "h": 264.8
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#345CC1
secondary
#CBB786
accent
#B547E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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