#345AC2#345AC2

#345AC2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.169 H 265.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#345AC2
RGBrgb(52, 90, 194)
HSLhsl(224, 58%, 48%)
HSVhsv(224, 73%, 76%)
CMYKcmyk(73.2%, 53.6%, 0%, 23.9%)
CIE-LABlab(41.11, 22.85, -58.41)
CIE-LCHlch(41.11, 62.72, 291.37°)
OKLaboklab(50.06% -0.0133 -0.1682)
OKLCHoklch(50.06% 0.169 265.5)
XYZxyz(14.8065, 11.9358, 52.5520)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AC2 #C29C34
analogous
#34A1C2 #345AC2 #5534C2
triadic
#345AC2 #C2345A #5AC234
tetradic
#345AC2 #C234A1 #C29C34 #34C255
square
#345AC2 #C234A1 #C29C34 #34C255
split-complementary
#345AC2 #C25534 #A1C234
monochromatic
#1A2D61 #274492 #345AC2 #5F7ED4 #8FA5E1

Accessibility & contrast

On white

6.20
#345AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#345AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AC2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AC2#FFFFFF#000000##FFFFFF
##345AC21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0868C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345ac2;
/* rgb */ color: rgb(52, 90, 194);
/* oklch */ color: oklch(50.1% 0.169 265.5);
Tailwind
colors: {
  custom: {
    50: '#7e88d5',
    500: '#345ac2',
    950: '#000000',
  },
}
SCSS
$custom: #345ac2;
$custom-light: #7e88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#345ac2",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 194
  },
  "hsl": {
    "h": 223.944,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50062,
    "c": 0.1687,
    "h": 265.5
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#345AC2
secondary
#CCB986
accent
#B847E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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