#345C8A#345C8A

#345C8A is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.088 H 253.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#345C8A
RGBrgb(52, 92, 138)
HSLhsl(212, 45%, 37%)
HSVhsv(212, 62%, 54%)
CMYKcmyk(62.3%, 33.3%, 0%, 45.9%)
CIE-LABlab(38.23, 0.93, -29.77)
CIE-LCHlch(38.23, 29.78, 271.80°)
OKLaboklab(46.73% -0.0255 -0.0841)
OKLCHoklch(46.73% 0.088 253.1)
XYZxyz(9.8291, 10.2184, 25.4942)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345C8A #8A6234
analogous
#34878A #345C8A #37348A
triadic
#345C8A #8A345C #5C8A34
tetradic
#345C8A #8A3487 #8A6234 #348A37
square
#345C8A #8A3487 #8A6234 #348A37
split-complementary
#345C8A #8A3734 #878A34
monochromatic
#132131 #233E5E #345C8A #457AB6 #6F99C9

Accessibility & contrast

On white

6.90
#345C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#345C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345C8A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345C8A#FFFFFF#000000##FFFFFF
##345C8A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8C
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#00676C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345c8a;
/* rgb */ color: rgb(52, 92, 138);
/* oklch */ color: oklch(46.7% 0.088 253.1);
Tailwind
colors: {
  custom: {
    50: '#7489ac',
    500: '#345c8a',
    950: '#000000',
  },
}
SCSS
$custom: #345c8a;
$custom-light: #7489ac;
$custom-dark: #000000;
JSON
{
  "hex": "#345c8a",
  "rgb": {
    "r": 52,
    "g": 92,
    "b": 138
  },
  "hsl": {
    "h": 212.093,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46731,
    "c": 0.08788,
    "h": 253.1
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#345C8A
secondary
#B18F69
accent
#9853D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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