#345B99#345B99

#345B99 is a mid, moderate blue. Relative luminance 0.105; OKLCH L 47.4% C 0.110 H 259.3°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#345B99
RGBrgb(52, 91, 153)
HSLhsl(217, 49%, 40%)
HSVhsv(217, 66%, 60%)
CMYKcmyk(66%, 40.5%, 0%, 40%)
CIE-LABlab(38.74, 6.99, -38.01)
CIE-LCHlch(38.74, 38.65, 280.42°)
OKLaboklab(47.4% -0.0204 -0.1082)
OKLCHoklch(47.4% 0.11 259.3)
XYZxyz(10.9050, 10.5111, 31.5850)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B99 #997234
analogous
#348D99 #345B99 #403499
triadic
#345B99 #99345B #5B9934
tetradic
#345B99 #99348D #997234 #349940
square
#345B99 #99348D #997234 #349940
split-complementary
#345B99 #994034 #8D9934
monochromatic
#15253E #24406B #345B99 #4977C1 #7799D1

Accessibility & contrast

On white

6.77
#345B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#345B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345B99
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B99#FFFFFF#000000##FFFFFF
##345B991.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609B
Deuteranopia (green-blind)
#305798
Tritanopia (blue-blind)
#006972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345b99;
/* rgb */ color: rgb(52, 91, 153);
/* oklch */ color: oklch(47.4% 0.110 259.3);
Tailwind
colors: {
  custom: {
    50: '#7689b7',
    500: '#345b99',
    950: '#000000',
  },
}
SCSS
$custom: #345b99;
$custom-light: #7689b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345b99",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 153
  },
  "hsl": {
    "h": 216.832,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47396,
    "c": 0.1101,
    "h": 259.3
  },
  "luminance": 0.10512
}

Semantic roles & 50–950 ramp

primary
#345B99
secondary
#B99D70
accent
#A44FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345B99

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

Preview Lab → · Contrast checker → · Palette generator →

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