#345C8B#345C8B

#345C8B is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.089 H 253.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#345C8B
RGBrgb(52, 92, 139)
HSLhsl(212, 46%, 37%)
HSVhsv(212, 63%, 55%)
CMYKcmyk(62.6%, 33.8%, 0%, 45.5%)
CIE-LABlab(38.28, 1.29, -30.29)
CIE-LCHlch(38.28, 30.32, 272.44°)
OKLaboklab(46.79% -0.0252 -0.0856)
OKLCHoklch(46.79% 0.089 253.6)
XYZxyz(9.9018, 10.2475, 25.8772)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C8B #8B6334
analogous
#34888B #345C8B #38348B
triadic
#345C8B #8B345C #5C8B34
tetradic
#345C8B #8B3488 #8B6334 #348B38
square
#345C8B #8B3488 #8B6334 #348B38
split-complementary
#345C8B #8B3834 #888B34
monochromatic
#132132 #233F5E #345C8B #4579B8 #7099C9

Accessibility & contrast

On white

6.89
#345C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#345C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C8B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C8B#FFFFFF#000000##FFFFFF
##345C8B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345c8b;
/* rgb */ color: rgb(52, 92, 139);
/* oklch */ color: oklch(46.8% 0.089 253.6);
Tailwind
colors: {
  custom: {
    50: '#7489ad',
    500: '#345c8b',
    950: '#000000',
  },
}
SCSS
$custom: #345c8b;
$custom-light: #7489ad;
$custom-dark: #000000;
JSON
{
  "hex": "#345c8b",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 139
  },
  "hsl": {
    "h": 212.414,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.08926,
    "h": 253.6
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#345C8B
secondary
#B29069
accent
#9953D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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