#345CC8#345CC8

#345CC8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.174 H 265.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#345CC8
RGBrgb(52, 92, 200)
HSLhsl(224, 59%, 49%)
HSVhsv(224, 74%, 78%)
CMYKcmyk(74%, 54%, 0%, 21.6%)
CIE-LABlab(42.08, 23.79, -60.32)
CIE-LCHlch(42.08, 64.84, 291.52°)
OKLaboklab(50.93% -0.0143 -0.1738)
OKLCHoklch(50.93% 0.174 265.3)
XYZxyz(15.6650, 12.5528, 56.2297)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC8 #C8A034
analogous
#34A6C8 #345CC8 #5634C8
triadic
#345CC8 #C8345C #5CC834
tetradic
#345CC8 #C834A6 #C8A034 #34C856
square
#345CC8 #C834A6 #C8A034 #34C856
split-complementary
#345CC8 #C85634 #A6C834
monochromatic
#1B2F67 #274697 #345CC8 #6382D6 #93A9E3

Accessibility & contrast

On white

5.98
#345CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#345CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC8#FFFFFF#000000##FFFFFF
##345CC81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345cc8;
/* rgb */ color: rgb(52, 92, 200);
/* oklch */ color: oklch(50.9% 0.174 265.3);
Tailwind
colors: {
  custom: {
    50: '#8089d9',
    500: '#345cc8',
    950: '#000000',
  },
}
SCSS
$custom: #345cc8;
$custom-light: #8089d9;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc8",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 223.784,
    "s": 58.73,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.17435,
    "h": 265.3
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#345CC8
secondary
#CEBC8A
accent
#B846E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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