#345CC3#345CC3

#345CC3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.168 H 264.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#345CC3
RGBrgb(52, 92, 195)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.3%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.72, 21.93, -58.00)
CIE-LCHlch(41.72, 62.01, 290.71°)
OKLaboklab(50.55% -0.0148 -0.1669)
OKLCHoklch(50.55% 0.168 264.9)
XYZxyz(15.0902, 12.3229, 53.2024)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC3 #C39B34
analogous
#34A3C3 #345CC3 #5334C3
triadic
#345CC3 #C3345C #5CC334
tetradic
#345CC3 #C334A3 #C39B34 #34C353
square
#345CC3 #C334A3 #C39B34 #34C353
split-complementary
#345CC3 #C35334 #A3C334
monochromatic
#1A2E62 #274593 #345CC3 #6080D5 #90A7E1

Accessibility & contrast

On white

6.06
#345CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#345CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC3
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC3#FFFFFF#000000##FFFFFF
##345CC31.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1269C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345cc3;
/* rgb */ color: rgb(52, 92, 195);
/* oklch */ color: oklch(50.5% 0.168 264.9);
Tailwind
colors: {
  custom: {
    50: '#7f89d6',
    500: '#345cc3',
    950: '#000000',
  },
}
SCSS
$custom: #345cc3;
$custom-light: #7f89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc3",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 223.217,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.16759,
    "h": 264.9
  },
  "luminance": 0.12324
}

Semantic roles & 50–950 ramp

primary
#345CC3
secondary
#CCB987
accent
#B647E1
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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