#345AC3#345AC3

#345AC3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.170 H 265.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#345AC3
RGBrgb(52, 90, 195)
HSLhsl(224, 58%, 48%)
HSVhsv(224, 73%, 76%)
CMYKcmyk(73.3%, 53.8%, 0%, 23.5%)
CIE-LABlab(41.19, 23.23, -58.87)
CIE-LCHlch(41.19, 63.29, 291.53°)
OKLaboklab(50.14% -0.0132 -0.1695)
OKLCHoklch(50.14% 0.17 265.6)
XYZxyz(14.9192, 11.9809, 53.1455)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AC3 #C39D34
analogous
#34A1C3 #345AC3 #5534C3
triadic
#345AC3 #C3345A #5AC334
tetradic
#345AC3 #C334A1 #C39D34 #34C355
square
#345AC3 #C334A1 #C39D34 #34C355
split-complementary
#345AC3 #C35534 #A1C334
monochromatic
#1A2D62 #274493 #345AC3 #607FD5 #90A6E1

Accessibility & contrast

On white

6.18
#345AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#345AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AC3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AC3#FFFFFF#000000##FFFFFF
##345AC31.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #345ac3;
/* rgb */ color: rgb(52, 90, 195);
/* oklch */ color: oklch(50.1% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#7f88d6',
    500: '#345ac3',
    950: '#000000',
  },
}
SCSS
$custom: #345ac3;
$custom-light: #7f88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#345ac3",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 224.056,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.17005,
    "h": 265.6
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#345AC3
secondary
#CCBA87
accent
#B847E1
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #345AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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