#345D99#345D99

#345D99 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 47.9% C 0.108 H 257.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#345D99
RGBrgb(52, 93, 153)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 66%, 60%)
CMYKcmyk(66%, 39.2%, 0%, 40%)
CIE-LABlab(39.34, 5.71, -37.06)
CIE-LCHlch(39.34, 37.50, 278.75°)
OKLaboklab(47.86% -0.0226 -0.1054)
OKLCHoklch(47.86% 0.108 257.9)
XYZxyz(11.0782, 10.8576, 31.6427)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D99 #997034
analogous
#348F99 #345D99 #3E3499
triadic
#345D99 #99345D #5D9934
tetradic
#345D99 #99348F #997034 #34993E
square
#345D99 #99348F #997034 #34993E
split-complementary
#345D99 #993E34 #8F9934
monochromatic
#15253E #24416B #345D99 #497AC1 #779BD1

Accessibility & contrast

On white

6.62
#345D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#345D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D99
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D99#FFFFFF#000000##FFFFFF
##345D991.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629B
Deuteranopia (green-blind)
#345898
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d99;
/* rgb */ color: rgb(52, 93, 153);
/* oklch */ color: oklch(47.9% 0.108 257.9);
Tailwind
colors: {
  custom: {
    50: '#768ab7',
    500: '#345d99',
    950: '#000000',
  },
}
SCSS
$custom: #345d99;
$custom-light: #768ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#345d99",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 153
  },
  "hsl": {
    "h": 215.644,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47858,
    "c": 0.10777,
    "h": 257.9
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#345D99
secondary
#B99B70
accent
#A14FD9
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345D99

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

Preview Lab → · Contrast checker → · Palette generator →

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