#345AA9#345AA9

#345AA9 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.134 H 263.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#345AA9
RGBrgb(52, 90, 169)
HSLhsl(221, 53%, 43%)
HSVhsv(221, 69%, 66%)
CMYKcmyk(69.2%, 46.7%, 0%, 33.7%)
CIE-LABlab(39.42, 13.55, -46.47)
CIE-LCHlch(39.42, 48.40, 286.26°)
OKLaboklab(48.23% -0.0163 -0.133)
OKLCHoklch(48.23% 0.134 263)
XYZxyz(12.2312, 10.9057, 38.9888)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345AA9 #A98334
analogous
#3494A9 #345AA9 #4834A9
triadic
#345AA9 #A9345A #5AA934
tetradic
#345AA9 #A93494 #A98334 #34A948
square
#345AA9 #A93494 #A98334 #34A948
split-complementary
#345AA9 #A94834 #94A934
monochromatic
#17284B #26417A #345AA9 #5178C9 #809CD8

Accessibility & contrast

On white

6.60
#345AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#345AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345AA9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345AA9#FFFFFF#000000##FFFFFF
##345AA91.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AC
Deuteranopia (green-blind)
#1A58A7
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345aa9;
/* rgb */ color: rgb(52, 90, 169);
/* oklch */ color: oklch(48.2% 0.134 263.0);
Tailwind
colors: {
  custom: {
    50: '#7988c3',
    500: '#345aa9',
    950: '#000000',
  },
}
SCSS
$custom: #345aa9;
$custom-light: #7988c3;
$custom-dark: #000000;
JSON
{
  "hex": "#345aa9",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 169
  },
  "hsl": {
    "h": 220.513,
    "s": 52.941,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.13403,
    "h": 263
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#345AA9
secondary
#C1A978
accent
#AD4BDC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #345AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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