#345AA3#345AA3

#345AA3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 47.8% C 0.126 H 262.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#345AA3
RGBrgb(52, 90, 163)
HSLhsl(219, 52%, 42%)
HSVhsv(219, 68%, 64%)
CMYKcmyk(68.1%, 44.8%, 0%, 36.1%)
CIE-LABlab(39.05, 11.32, -43.51)
CIE-LCHlch(39.05, 44.95, 284.59°)
OKLaboklab(47.82% -0.0173 -0.1243)
OKLCHoklch(47.82% 0.126 262.1)
XYZxyz(11.6809, 10.6856, 36.0902)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA3 #A37D34
analogous
#3492A3 #345AA3 #4534A3
triadic
#345AA3 #A3345A #5AA334
tetradic
#345AA3 #A33492 #A37D34 #34A345
square
#345AA3 #A33492 #A37D34 #34A345
split-complementary
#345AA3 #A34534 #92A334
monochromatic
#162746 #254075 #345AA3 #4E77C6 #7C9BD5

Accessibility & contrast

On white

6.69
#345AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#345AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AA3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA3#FFFFFF#000000##FFFFFF
##345AA31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A6
Deuteranopia (green-blind)
#2357A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345aa3;
/* rgb */ color: rgb(52, 90, 163);
/* oklch */ color: oklch(47.8% 0.126 262.1);
Tailwind
colors: {
  custom: {
    50: '#7888bf',
    500: '#345aa3',
    950: '#000000',
  },
}
SCSS
$custom: #345aa3;
$custom-light: #7888bf;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa3",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 163
  },
  "hsl": {
    "h": 219.459,
    "s": 51.628,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.12553,
    "h": 262.1
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#345AA3
secondary
#BEA575
accent
#AA4DDB
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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