#345173#345173

#345173 is a dark, moderate cyan. Relative luminance 0.079; OKLCH L 42.8% C 0.067 H 253.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#345173
RGBrgb(52, 81, 115)
HSLhsl(212, 38%, 33%)
HSVhsv(212, 55%, 45%)
CMYKcmyk(54.8%, 29.6%, 0%, 54.9%)
CIE-LABlab(33.67, -0.11, -22.76)
CIE-LCHlch(33.67, 22.76, 269.73°)
OKLaboklab(42.78% -0.0193 -0.0639)
OKLCHoklch(42.78% 0.067 253.2)
XYZxyz(7.4520, 7.8522, 17.3393)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345173 #735634
analogous
#347073 #345173 #363473
triadic
#345173 #733451 #517334
tetradic
#345173 #733470 #735634 #347336
square
#345173 #733470 #735634 #347336
split-complementary
#345173 #733634 #707334
monochromatic
#0E161F #213349 #345173 #476F9D #678DBA

Accessibility & contrast

On white

8.17
#345173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#345173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345173
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345173#FFFFFF#000000##FFFFFF
##3451731.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435374
Deuteranopia (green-blind)
#3B4C72
Tritanopia (blue-blind)
#12595D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345173;
/* rgb */ color: rgb(52, 81, 115);
/* oklch */ color: oklch(42.8% 0.067 253.2);
Tailwind
colors: {
  custom: {
    50: '#70819b',
    500: '#345173',
    950: '#000000',
  },
}
SCSS
$custom: #345173;
$custom-light: #70819b;
$custom-dark: #000000;
JSON
{
  "hex": "#345173",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 115
  },
  "hsl": {
    "h": 212.381,
    "s": 37.725,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.06671,
    "h": 253.2
  },
  "luminance": 0.07853
}

Semantic roles & 50–950 ramp

primary
#345173
secondary
#A38460
accent
#985ACE
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #345173

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

Preview Lab → · Contrast checker → · Palette generator →

#345173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva