#345BAB#345BAB

#345BAB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.136 H 262.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#345BAB
RGBrgb(52, 91, 171)
HSLhsl(220, 53%, 44%)
HSVhsv(220, 70%, 67%)
CMYKcmyk(69.6%, 46.8%, 0%, 32.9%)
CIE-LABlab(39.83, 13.64, -46.99)
CIE-LCHlch(39.83, 48.93, 286.19°)
OKLaboklab(48.59% -0.0169 -0.1346)
OKLCHoklch(48.59% 0.136 262.8)
XYZxyz(12.5053, 11.1512, 40.0135)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345BAB #AB8434
analogous
#3496AB #345BAB #4834AB
triadic
#345BAB #AB345B #5BAB34
tetradic
#345BAB #AB3496 #AB8434 #34AB48
square
#345BAB #AB3496 #AB8434 #34AB48
split-complementary
#345BAB #AB4834 #96AB34
monochromatic
#17294D #26427C #345BAB #5279CA #819ED9

Accessibility & contrast

On white

6.50
#345BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#345BAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345BAB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345BAB#FFFFFF#000000##FFFFFF
##345BAB1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AE
Deuteranopia (green-blind)
#1959A9
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #345bab;
/* rgb */ color: rgb(52, 91, 171);
/* oklch */ color: oklch(48.6% 0.136 262.8);
Tailwind
colors: {
  custom: {
    50: '#7a88c4',
    500: '#345bab',
    950: '#000000',
  },
}
SCSS
$custom: #345bab;
$custom-light: #7a88c4;
$custom-dark: #000000;
JSON
{
  "hex": "#345bab",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 171
  },
  "hsl": {
    "h": 220.336,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.13562,
    "h": 262.8
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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