#345B8A#345B8A

#345B8A is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.089 H 254.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#345B8A
RGBrgb(52, 91, 138)
HSLhsl(213, 45%, 37%)
HSVhsv(213, 62%, 54%)
CMYKcmyk(62.3%, 34.1%, 0%, 45.9%)
CIE-LABlab(37.93, 1.57, -30.25)
CIE-LCHlch(37.93, 30.29, 272.96°)
OKLaboklab(46.49% -0.0244 -0.0855)
OKLCHoklch(46.49% 0.089 254.1)
XYZxyz(9.7431, 10.0463, 25.4655)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345B8A #8A6334
analogous
#34868A #345B8A #38348A
triadic
#345B8A #8A345B #5B8A34
tetradic
#345B8A #8A3486 #8A6334 #348A38
square
#345B8A #8A3486 #8A6334 #348A38
split-complementary
#345B8A #8A3834 #868A34
monochromatic
#132031 #233E5E #345B8A #4578B6 #6F98C9

Accessibility & contrast

On white

6.98
#345B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#345B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345B8A
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345B8A#FFFFFF#000000##FFFFFF
##345B8A1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475E8C
Deuteranopia (green-blind)
#3C5689
Tritanopia (blue-blind)
#00666C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345b8a;
/* rgb */ color: rgb(52, 91, 138);
/* oklch */ color: oklch(46.5% 0.089 254.1);
Tailwind
colors: {
  custom: {
    50: '#7489ac',
    500: '#345b8a',
    950: '#000000',
  },
}
SCSS
$custom: #345b8a;
$custom-light: #7489ac;
$custom-dark: #000000;
JSON
{
  "hex": "#345b8a",
  "rgb": {
    "r": 52,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 212.791,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.0889,
    "h": 254.1
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#345B8A
secondary
#B19069
accent
#9A53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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