#345C8D#345C8D

#345C8D is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.9% C 0.092 H 254.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#345C8D
RGBrgb(52, 92, 141)
HSLhsl(213, 46%, 38%)
HSVhsv(213, 63%, 55%)
CMYKcmyk(63.1%, 34.8%, 0%, 44.7%)
CIE-LABlab(38.39, 2.00, -31.34)
CIE-LCHlch(38.39, 31.40, 273.66°)
OKLaboklab(46.9% -0.0246 -0.0887)
OKLCHoklch(46.9% 0.092 254.5)
XYZxyz(10.0493, 10.3065, 26.6539)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C8D #8D6534
analogous
#34888D #345C8D #39348D
triadic
#345C8D #8D345C #5C8D34
tetradic
#345C8D #8D3488 #8D6534 #348D39
square
#345C8D #8D3488 #8D6534 #348D39
split-complementary
#345C8D #8D3934 #888D34
monochromatic
#132234 #243F60 #345C8D #4479BA #7199CB

Accessibility & contrast

On white

6.86
#345C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#345C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C8D
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C8D#FFFFFF#000000##FFFFFF
##345C8D1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#3B578C
Tritanopia (blue-blind)
#00676E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345c8d;
/* rgb */ color: rgb(52, 92, 141);
/* oklch */ color: oklch(46.9% 0.092 254.5);
Tailwind
colors: {
  custom: {
    50: '#7489ae',
    500: '#345c8d',
    950: '#000000',
  },
}
SCSS
$custom: #345c8d;
$custom-light: #7489ae;
$custom-dark: #000000;
JSON
{
  "hex": "#345c8d",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 141
  },
  "hsl": {
    "h": 213.034,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46903,
    "c": 0.09203,
    "h": 254.5
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#345C8D
secondary
#B3926A
accent
#9B52D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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