#345170#345170

#345170 is a dark, moderate cyan. Relative luminance 0.078; OKLCH L 42.6% C 0.063 H 251.0°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#345170
RGBrgb(52, 81, 112)
HSLhsl(211, 37%, 32%)
HSVhsv(211, 54%, 44%)
CMYKcmyk(53.6%, 27.7%, 0%, 56.1%)
CIE-LABlab(33.53, -1.13, -21.11)
CIE-LCHlch(33.53, 21.14, 266.95°)
OKLaboklab(42.62% -0.0203 -0.0591)
OKLCHoklch(42.62% 0.063 251)
XYZxyz(7.2822, 7.7842, 16.4449)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345170 #705334
analogous
#346F70 #345170 #353470
triadic
#345170 #703451 #517034
tetradic
#345170 #70346F #705334 #347035
square
#345170 #70346F #705334 #347035
split-complementary
#345170 #703534 #6F7034
monochromatic
#0D151C #213346 #345170 #476F9A #668EB8

Accessibility & contrast

On white

8.21
#345170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#345170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345170
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345170#FFFFFF#000000##FFFFFF
##3451701.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445271
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#16585C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #345170;
/* rgb */ color: rgb(52, 81, 112);
/* oklch */ color: oklch(42.6% 0.063 251.0);
Tailwind
colors: {
  custom: {
    50: '#708199',
    500: '#345170',
    950: '#000000',
  },
}
SCSS
$custom: #345170;
$custom-light: #708199;
$custom-dark: #000000;
JSON
{
  "hex": "#345170",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 112
  },
  "hsl": {
    "h": 211,
    "s": 36.585,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4262,
    "c": 0.0625,
    "h": 251
  },
  "luminance": 0.07785
}

Semantic roles & 50–950 ramp

primary
#345170
secondary
#A0815F
accent
#965BCD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #345170

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

Preview Lab → · Contrast checker → · Palette generator →

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