#345D8D#345D8D

#345D8D is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 47.1% C 0.091 H 253.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#345D8D
RGBrgb(52, 93, 141)
HSLhsl(212, 46%, 38%)
HSVhsv(212, 63%, 55%)
CMYKcmyk(63.1%, 34%, 0%, 44.7%)
CIE-LABlab(38.69, 1.37, -30.86)
CIE-LCHlch(38.69, 30.89, 272.54°)
OKLaboklab(47.14% -0.0258 -0.0873)
OKLCHoklch(47.14% 0.091 253.5)
XYZxyz(10.1365, 10.4809, 26.6830)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D8D #8D6434
analogous
#34898D #345D8D #38348D
triadic
#345D8D #8D345D #5D8D34
tetradic
#345D8D #8D3489 #8D6434 #348D38
square
#345D8D #8D3489 #8D6434 #348D38
split-complementary
#345D8D #8D3834 #898D34
monochromatic
#132234 #244060 #345D8D #447ABA #719ACB

Accessibility & contrast

On white

6.78
#345D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#345D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D8D
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D8D#FFFFFF#000000##FFFFFF
##345D8D1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49608F
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345d8d;
/* rgb */ color: rgb(52, 93, 141);
/* oklch */ color: oklch(47.1% 0.091 253.5);
Tailwind
colors: {
  custom: {
    50: '#748aae',
    500: '#345d8d',
    950: '#000000',
  },
}
SCSS
$custom: #345d8d;
$custom-light: #748aae;
$custom-dark: #000000;
JSON
{
  "hex": "#345d8d",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 141
  },
  "hsl": {
    "h": 212.36,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47142,
    "c": 0.09099,
    "h": 253.5
  },
  "luminance": 0.10482
}

Semantic roles & 50–950 ramp

primary
#345D8D
secondary
#B3916A
accent
#9952D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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