#345D9C#345D9C

#345D9C is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.0% C 0.112 H 258.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#345D9C
RGBrgb(52, 93, 156)
HSLhsl(216, 50%, 41%)
HSVhsv(216, 67%, 61%)
CMYKcmyk(66.7%, 40.4%, 0%, 38.8%)
CIE-LABlab(39.51, 6.80, -38.59)
CIE-LCHlch(39.51, 39.18, 280.00°)
OKLaboklab(48.05% -0.0219 -0.1098)
OKLCHoklch(48.05% 0.112 258.7)
XYZxyz(11.3291, 10.9580, 32.9641)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D9C #9C7334
analogous
#34919C #345D9C #3F349C
triadic
#345D9C #9C345D #5D9C34
tetradic
#345D9C #9C3491 #9C7334 #349C3F
square
#345D9C #9C3491 #9C7334 #349C3F
split-complementary
#345D9C #9C3F34 #919C34
monochromatic
#152640 #25426E #345D9C #4A7AC3 #789CD2

Accessibility & contrast

On white

6.58
#345D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#345D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D9C
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D9C#FFFFFF#000000##FFFFFF
##345D9C1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629F
Deuteranopia (green-blind)
#31599B
Tritanopia (blue-blind)
#006B75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #345d9c;
/* rgb */ color: rgb(52, 93, 156);
/* oklch */ color: oklch(48.0% 0.112 258.7);
Tailwind
colors: {
  custom: {
    50: '#778ab9',
    500: '#345d9c',
    950: '#000000',
  },
}
SCSS
$custom: #345d9c;
$custom-light: #778ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#345d9c",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 156
  },
  "hsl": {
    "h": 216.346,
    "s": 50,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.11201,
    "h": 258.7
  },
  "luminance": 0.10959
}

Semantic roles & 50–950 ramp

primary
#345D9C
secondary
#BB9E71
accent
#A34EDA
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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