#345DC5#345DC5

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

Color values

HEX#345DC5
RGBrgb(52, 93, 197)
HSLhsl(223, 58%, 49%)
HSVhsv(223, 74%, 77%)
CMYKcmyk(73.6%, 52.8%, 0%, 22.7%)
CIE-LABlab(42.14, 22.02, -58.49)
CIE-LCHlch(42.14, 62.50, 290.63°)
OKLaboklab(50.9% -0.0154 -0.1684)
OKLCHoklch(50.9% 0.169 264.8)
XYZxyz(15.4050, 12.5883, 54.4304)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DC5 #C59C34
analogous
#34A6C5 #345DC5 #5334C5
triadic
#345DC5 #C5345D #5DC534
tetradic
#345DC5 #C534A6 #C59C34 #34C553
square
#345DC5 #C534A6 #C59C34 #34C553
split-complementary
#345DC5 #C55334 #A6C534
monochromatic
#1A2F64 #274695 #345DC5 #6182D5 #91A8E2

Accessibility & contrast

On white

5.97
#345DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#345DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DC5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DC5#FFFFFF#000000##FFFFFF
##345DC51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126AC9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345dc5;
/* rgb */ color: rgb(52, 93, 197);
/* oklch */ color: oklch(50.9% 0.169 264.8);
Tailwind
colors: {
  custom: {
    50: '#7f8ad7',
    500: '#345dc5',
    950: '#000000',
  },
}
SCSS
$custom: #345dc5;
$custom-light: #7f8ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#345dc5",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 197
  },
  "hsl": {
    "h": 223.034,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.16908,
    "h": 264.8
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#345DC5
secondary
#CDB988
accent
#B646E1
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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