#345CC0#345CC0

#345CC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.164 H 264.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#345CC0
RGBrgb(52, 92, 192)
HSLhsl(223, 57%, 48%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(72.9%, 52.1%, 0%, 24.7%)
CIE-LABlab(41.51, 20.81, -56.60)
CIE-LCHlch(41.51, 60.30, 290.19°)
OKLaboklab(50.32% -0.015 -0.1628)
OKLCHoklch(50.32% 0.164 264.7)
XYZxyz(14.7544, 12.1885, 51.4340)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC0 #C09834
analogous
#34A2C0 #345CC0 #5234C0
triadic
#345CC0 #C0345C #5CC034
tetradic
#345CC0 #C034A2 #C09834 #34C052
square
#345CC0 #C034A2 #C09834 #34C052
split-complementary
#345CC0 #C05234 #A2C034
monochromatic
#1A2E60 #274590 #345CC0 #5E7FD3 #8EA6E0

Accessibility & contrast

On white

6.11
#345CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#345CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC0
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC0#FFFFFF#000000##FFFFFF
##345CC01.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1969C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #345cc0;
/* rgb */ color: rgb(52, 92, 192);
/* oklch */ color: oklch(50.3% 0.164 264.7);
Tailwind
colors: {
  custom: {
    50: '#7e89d4',
    500: '#345cc0',
    950: '#000000',
  },
}
SCSS
$custom: #345cc0;
$custom-light: #7e89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc0",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 192
  },
  "hsl": {
    "h": 222.857,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.16351,
    "h": 264.7
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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