#345B96#345B96

#345B96 is a mid, moderate blue. Relative luminance 0.104; OKLCH L 47.2% C 0.106 H 258.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#345B96
RGBrgb(52, 91, 150)
HSLhsl(216, 49%, 40%)
HSVhsv(216, 65%, 59%)
CMYKcmyk(65.3%, 39.3%, 0%, 41.2%)
CIE-LABlab(38.57, 5.89, -36.48)
CIE-LCHlch(38.57, 36.95, 279.18°)
OKLaboklab(47.21% -0.0212 -0.1037)
OKLCHoklch(47.21% 0.106 258.5)
XYZxyz(10.6603, 10.4132, 30.2964)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B96 #966F34
analogous
#348C96 #345B96 #3E3496
triadic
#345B96 #96345B #5B9634
tetradic
#345B96 #96348C #966F34 #34963E
square
#345B96 #96348C #966F34 #34963E
split-complementary
#345B96 #963E34 #8C9634
monochromatic
#14243B #243F69 #345B96 #4877BF #7599CF

Accessibility & contrast

On white

6.81
#345B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#345B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345B96
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B96#FFFFFF#000000##FFFFFF
##345B961.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416098
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345b96;
/* rgb */ color: rgb(52, 91, 150);
/* oklch */ color: oklch(47.2% 0.106 258.5);
Tailwind
colors: {
  custom: {
    50: '#7689b5',
    500: '#345b96',
    950: '#000000',
  },
}
SCSS
$custom: #345b96;
$custom-light: #7689b5;
$custom-dark: #000000;
JSON
{
  "hex": "#345b96",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 216.122,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47209,
    "c": 0.10583,
    "h": 258.5
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#345B96
secondary
#B89A6E
accent
#A250D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345B96

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

Preview Lab → · Contrast checker → · Palette generator →

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