#345C8E#345C8E

#345C8E is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.093 H 254.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#345C8E
RGBrgb(52, 92, 142)
HSLhsl(213, 46%, 38%)
HSVhsv(213, 63%, 56%)
CMYKcmyk(63.4%, 35.2%, 0%, 44.3%)
CIE-LABlab(38.44, 2.36, -31.86)
CIE-LCHlch(38.44, 31.95, 274.24°)
OKLaboklab(46.96% -0.0244 -0.0902)
OKLCHoklch(46.96% 0.093 254.9)
XYZxyz(10.1241, 10.3364, 27.0475)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C8E #8E6634
analogous
#34898E #345C8E #39348E
triadic
#345C8E #8E345C #5C8E34
tetradic
#345C8E #8E3489 #8E6634 #348E39
square
#345C8E #8E3489 #8E6634 #348E39
split-complementary
#345C8E #8E3934 #898E34
monochromatic
#132234 #243F61 #345C8E #4479BB #7199CB

Accessibility & contrast

On white

6.85
#345C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#345C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C8E
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C8E#FFFFFF#000000##FFFFFF
##345C8E1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345c8e;
/* rgb */ color: rgb(52, 92, 142);
/* oklch */ color: oklch(47.0% 0.093 254.9);
Tailwind
colors: {
  custom: {
    50: '#7489af',
    500: '#345c8e',
    950: '#000000',
  },
}
SCSS
$custom: #345c8e;
$custom-light: #7489af;
$custom-dark: #000000;
JSON
{
  "hex": "#345c8e",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 142
  },
  "hsl": {
    "h": 213.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46961,
    "c": 0.09343,
    "h": 254.9
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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