#345D8B#345D8B

#345D8B is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.088 H 252.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#345D8B
RGBrgb(52, 93, 139)
HSLhsl(212, 46%, 37%)
HSVhsv(212, 63%, 55%)
CMYKcmyk(62.6%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.59, 0.66, -29.81)
CIE-LCHlch(38.59, 29.82, 271.26°)
OKLaboklab(47.03% -0.0264 -0.0842)
OKLCHoklch(47.03% 0.088 252.6)
XYZxyz(9.9890, 10.4219, 25.9063)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D8B #8B6234
analogous
#34898B #345D8B #36348B
triadic
#345D8B #8B345D #5D8B34
tetradic
#345D8B #8B3489 #8B6234 #348B36
square
#345D8B #8B3489 #8B6234 #348B36
split-complementary
#345D8B #8B3634 #898B34
monochromatic
#132132 #233F5E #345D8B #457BB8 #709AC9

Accessibility & contrast

On white

6.81
#345D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#345D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D8B
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D8B#FFFFFF#000000##FFFFFF
##345D8B1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8D
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345d8b;
/* rgb */ color: rgb(52, 93, 139);
/* oklch */ color: oklch(47.0% 0.088 252.6);
Tailwind
colors: {
  custom: {
    50: '#748aad',
    500: '#345d8b',
    950: '#000000',
  },
}
SCSS
$custom: #345d8b;
$custom-light: #748aad;
$custom-dark: #000000;
JSON
{
  "hex": "#345d8b",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 211.724,
    "s": 45.55,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47028,
    "c": 0.08824,
    "h": 252.6
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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