#345A99#345A99

#345A99 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.2% C 0.111 H 260.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#345A99
RGBrgb(52, 90, 153)
HSLhsl(217, 49%, 40%)
HSVhsv(217, 66%, 60%)
CMYKcmyk(66%, 41.2%, 0%, 40%)
CIE-LABlab(38.45, 7.64, -38.48)
CIE-LCHlch(38.45, 39.23, 281.22°)
OKLaboklab(47.17% -0.0194 -0.1096)
OKLCHoklch(47.17% 0.111 260)
XYZxyz(10.8201, 10.3413, 31.5567)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A99 #997334
analogous
#348C99 #345A99 #413499
triadic
#345A99 #99345A #5A9934
tetradic
#345A99 #99348C #997334 #349941
square
#345A99 #99348C #997334 #349941
split-complementary
#345A99 #994134 #8C9934
monochromatic
#15243E #243F6B #345A99 #4976C1 #7799D1

Accessibility & contrast

On white

6.84
#345A99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#345A99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345A99
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A99#FFFFFF#000000##FFFFFF
##345A991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609B
Deuteranopia (green-blind)
#2F5698
Tritanopia (blue-blind)
#006872
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345a99;
/* rgb */ color: rgb(52, 90, 153);
/* oklch */ color: oklch(47.2% 0.111 260.0);
Tailwind
colors: {
  custom: {
    50: '#7688b7',
    500: '#345a99',
    950: '#000000',
  },
}
SCSS
$custom: #345a99;
$custom-light: #7688b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345a99",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 153
  },
  "hsl": {
    "h": 217.426,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.11128,
    "h": 260
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#345A99
secondary
#B99E70
accent
#A54FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345A99

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

Preview Lab → · Contrast checker → · Palette generator →

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