#345CA1#345CA1

#345CA1 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.1% C 0.120 H 260.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#345CA1
RGBrgb(52, 92, 161)
HSLhsl(218, 51%, 42%)
HSVhsv(218, 68%, 63%)
CMYKcmyk(67.7%, 42.9%, 0%, 36.9%)
CIE-LABlab(39.51, 9.29, -41.58)
CIE-LCHlch(39.51, 42.60, 282.59°)
OKLaboklab(48.14% -0.0197 -0.1186)
OKLCHoklch(48.14% 0.12 260.6)
XYZxyz(11.6741, 10.9564, 35.2109)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345CA1 #A17934
analogous
#3493A1 #345CA1 #4334A1
triadic
#345CA1 #A1345C #5CA134
tetradic
#345CA1 #A13493 #A17934 #34A143
square
#345CA1 #A13493 #A17934 #34A143
split-complementary
#345CA1 #A14334 #93A134
monochromatic
#162744 #254273 #345CA1 #4D79C5 #7B9CD4

Accessibility & contrast

On white

6.58
#345CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#345CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345CA1
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345CA1#FFFFFF#000000##FFFFFF
##345CA11.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A4
Deuteranopia (green-blind)
#2A58A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345ca1;
/* rgb */ color: rgb(52, 92, 161);
/* oklch */ color: oklch(48.1% 0.120 260.6);
Tailwind
colors: {
  custom: {
    50: '#7889bd',
    500: '#345ca1',
    950: '#000000',
  },
}
SCSS
$custom: #345ca1;
$custom-light: #7889bd;
$custom-dark: #000000;
JSON
{
  "hex": "#345ca1",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 161
  },
  "hsl": {
    "h": 217.982,
    "s": 51.174,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48139,
    "c": 0.12027,
    "h": 260.6
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#345CA1
secondary
#BDA274
accent
#A74DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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