#345BAA#345BAA

#345BAA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.134 H 262.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#345BAA
RGBrgb(52, 91, 170)
HSLhsl(220, 53%, 44%)
HSVhsv(220, 69%, 67%)
CMYKcmyk(69.4%, 46.5%, 0%, 33.3%)
CIE-LABlab(39.77, 13.27, -46.50)
CIE-LCHlch(39.77, 48.36, 285.93°)
OKLaboklab(48.52% -0.0171 -0.1331)
OKLCHoklch(48.52% 0.134 262.7)
XYZxyz(12.4104, 11.1133, 39.5135)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BAA #AA8334
analogous
#3496AA #345BAA #4834AA
triadic
#345BAA #AA345B #5BAA34
tetradic
#345BAA #AA3496 #AA8334 #34AA48
square
#345BAA #AA3496 #AA8334 #34AA48
split-complementary
#345BAA #AA4834 #96AA34
monochromatic
#17294C #26427B #345BAA #5179CA #809DD8

Accessibility & contrast

On white

6.52
#345BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#345BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BAA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BAA#FFFFFF#000000##FFFFFF
##345BAA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AD
Deuteranopia (green-blind)
#1B59A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345baa;
/* rgb */ color: rgb(52, 91, 170);
/* oklch */ color: oklch(48.5% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#7988c4',
    500: '#345baa',
    950: '#000000',
  },
}
SCSS
$custom: #345baa;
$custom-light: #7988c4;
$custom-dark: #000000;
JSON
{
  "hex": "#345baa",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 220.169,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.13421,
    "h": 262.7
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#345BAA
secondary
#C1A978
accent
#AD4BDD
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #345BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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