#345CD1#345CD1

#345CD1 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.186 H 265.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#345CD1
RGBrgb(52, 92, 209)
HSLhsl(225, 63%, 51%)
HSVhsv(225, 75%, 82%)
CMYKcmyk(75.1%, 56%, 0%, 18%)
CIE-LABlab(42.74, 27.11, -64.43)
CIE-LCHlch(42.74, 69.90, 292.82°)
OKLaboklab(51.64% -0.0137 -0.1858)
OKLCHoklch(51.64% 0.186 265.8)
XYZxyz(16.7479, 12.9860, 61.9331)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CD1 #D1A934
analogous
#34ABD1 #345CD1 #5A34D1
triadic
#345CD1 #D1345C #5CD134
tetradic
#345CD1 #D134AB #D1A934 #34D15A
square
#345CD1 #D134AB #D1A934 #34D15A
split-complementary
#345CD1 #D15A34 #ABD134
monochromatic
#1A3071 #2545A3 #345CD1 #6684DC #98ACE8

Accessibility & contrast

On white

5.84
#345CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#345CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CD1
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CD1#FFFFFF#000000##FFFFFF
##345CD11.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #345cd1;
/* rgb */ color: rgb(52, 92, 209);
/* oklch */ color: oklch(51.6% 0.186 265.8);
Tailwind
colors: {
  custom: {
    50: '#8289e0',
    500: '#345cd1',
    950: '#000000',
  },
}
SCSS
$custom: #345cd1;
$custom-light: #8289e0;
$custom-dark: #000000;
JSON
{
  "hex": "#345cd1",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 224.713,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51636,
    "c": 0.18636,
    "h": 265.8
  },
  "luminance": 0.12988
}

Semantic roles & 50–950 ramp

primary
#345CD1
secondary
#D3C18E
accent
#BC42E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #345CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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