#345C99#345C99

#345C99 is a mid, moderate blue. Relative luminance 0.107; OKLCH L 47.6% C 0.109 H 258.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#345C99
RGBrgb(52, 92, 153)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 66%, 60%)
CMYKcmyk(66%, 39.9%, 0%, 40%)
CIE-LABlab(39.04, 6.35, -37.54)
CIE-LCHlch(39.04, 38.07, 279.60°)
OKLaboklab(47.63% -0.0215 -0.1068)
OKLCHoklch(47.63% 0.109 258.6)
XYZxyz(10.9910, 10.6832, 31.6137)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C99 #997134
analogous
#348E99 #345C99 #3F3499
triadic
#345C99 #99345C #5C9934
tetradic
#345C99 #99348E #997134 #34993F
square
#345C99 #99348E #997134 #34993F
split-complementary
#345C99 #993F34 #8E9934
monochromatic
#15253E #24416B #345C99 #4979C1 #779AD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345C99#FFFFFF#000000##FFFFFF
##345C991.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)
#41619B
Deuteranopia (green-blind)
#325898
Tritanopia (blue-blind)
#006A73
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345c99;
/* rgb */ color: rgb(52, 92, 153);
/* oklch */ color: oklch(47.6% 0.109 258.6);
Tailwind
colors: {
  custom: {
    50: '#7689b7',
    500: '#345c99',
    950: '#000000',
  },
}
SCSS
$custom: #345c99;
$custom-light: #7689b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345c99",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 153
  },
  "hsl": {
    "h": 216.238,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.10892,
    "h": 258.6
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#345C99
secondary
#B99C70
accent
#A24FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345C99

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

Preview Lab → · Contrast checker → · Palette generator →

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