#345AC5#345AC5

#345AC5 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.3% C 0.173 H 265.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#345AC5
RGBrgb(52, 90, 197)
HSLhsl(224, 58%, 49%)
HSVhsv(224, 74%, 77%)
CMYKcmyk(73.6%, 54.3%, 0%, 22.7%)
CIE-LABlab(41.33, 23.97, -59.80)
CIE-LCHlch(41.33, 64.42, 291.84°)
OKLaboklab(50.29% -0.013 -0.1723)
OKLCHoklch(50.29% 0.173 265.7)
XYZxyz(15.1468, 12.0720, 54.3443)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AC5 #C59F34
analogous
#34A3C5 #345AC5 #5734C5
triadic
#345AC5 #C5345A #5AC534
tetradic
#345AC5 #C534A3 #C59F34 #34C557
square
#345AC5 #C534A3 #C59F34 #34C557
split-complementary
#345AC5 #C55734 #A3C534
monochromatic
#1A2E64 #274495 #345AC5 #617FD5 #91A6E2

Accessibility & contrast

On white

6.15
#345AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#345AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AC5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AC5#FFFFFF#000000##FFFFFF
##345AC51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345ac5;
/* rgb */ color: rgb(52, 90, 197);
/* oklch */ color: oklch(50.3% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#7f88d7',
    500: '#345ac5',
    950: '#000000',
  },
}
SCSS
$custom: #345ac5;
$custom-light: #7f88d7;
$custom-dark: #000000;
JSON
{
  "hex": "#345ac5",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 197
  },
  "hsl": {
    "h": 224.276,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50293,
    "c": 0.17276,
    "h": 265.7
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#345AC5
secondary
#CDBB88
accent
#B946E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #345AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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