#345CC5#345CC5

#345CC5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.7% C 0.170 H 265.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#345CC5
RGBrgb(52, 92, 197)
HSLhsl(223, 58%, 49%)
HSVhsv(223, 74%, 77%)
CMYKcmyk(73.6%, 53.3%, 0%, 22.7%)
CIE-LABlab(41.87, 22.67, -58.93)
CIE-LCHlch(41.87, 63.14, 291.04°)
OKLaboklab(50.7% -0.0146 -0.1697)
OKLCHoklch(50.7% 0.17 265.1)
XYZxyz(15.3178, 12.4139, 54.4013)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CC5 #C59D34
analogous
#34A5C5 #345CC5 #5534C5
triadic
#345CC5 #C5345C #5CC534
tetradic
#345CC5 #C534A5 #C59D34 #34C555
square
#345CC5 #C534A5 #C59D34 #34C555
split-complementary
#345CC5 #C55534 #A5C534
monochromatic
#1A2F64 #274595 #345CC5 #6181D5 #91A8E2

Accessibility & contrast

On white

6.03
#345CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#345CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CC5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CC5#FFFFFF#000000##FFFFFF
##345CC51.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6AC9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345cc5;
/* rgb */ color: rgb(52, 92, 197);
/* oklch */ color: oklch(50.7% 0.170 265.1);
Tailwind
colors: {
  custom: {
    50: '#7f89d7',
    500: '#345cc5',
    950: '#000000',
  },
}
SCSS
$custom: #345cc5;
$custom-light: #7f89d7;
$custom-dark: #000000;
JSON
{
  "hex": "#345cc5",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 197
  },
  "hsl": {
    "h": 223.448,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.17031,
    "h": 265.1
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

primary
#345CC5
secondary
#CDBA88
accent
#B746E1
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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