#345DC2#345DC2

#345DC2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.165 H 264.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#345DC2
RGBrgb(52, 93, 194)
HSLhsl(223, 58%, 48%)
HSVhsv(223, 73%, 76%)
CMYKcmyk(73.2%, 52.1%, 0%, 23.9%)
CIE-LABlab(41.93, 20.91, -57.10)
CIE-LCHlch(41.93, 60.80, 290.11°)
OKLaboklab(50.68% -0.0157 -0.1643)
OKLCHoklch(50.68% 0.165 264.6)
XYZxyz(15.0647, 12.4522, 52.6380)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345DC2 #C29934
analogous
#34A4C2 #345DC2 #5234C2
triadic
#345DC2 #C2345D #5DC234
tetradic
#345DC2 #C234A4 #C29934 #34C252
square
#345DC2 #C234A4 #C29934 #34C252
split-complementary
#345DC2 #C25234 #A4C234
monochromatic
#1A2F61 #274692 #345DC2 #5F81D4 #8FA7E1

Accessibility & contrast

On white

6.02
#345DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#345DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345DC2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345DC2#FFFFFF#000000##FFFFFF
##345DC21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #345dc2;
/* rgb */ color: rgb(52, 93, 194);
/* oklch */ color: oklch(50.7% 0.165 264.6);
Tailwind
colors: {
  custom: {
    50: '#7e8ad5',
    500: '#345dc2',
    950: '#000000',
  },
}
SCSS
$custom: #345dc2;
$custom-light: #7e8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#345dc2",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 222.676,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.165,
    "h": 264.6
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#345DC2
secondary
#CCB886
accent
#B447E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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