#345178#345178

#345178 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 43.1% C 0.074 H 256.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#345178
RGBrgb(52, 81, 120)
HSLhsl(214, 40%, 34%)
HSVhsv(214, 57%, 47%)
CMYKcmyk(56.7%, 32.5%, 0%, 52.9%)
CIE-LABlab(33.92, 1.62, -25.49)
CIE-LCHlch(33.92, 25.54, 273.63°)
OKLaboklab(43.06% -0.0177 -0.0717)
OKLCHoklch(43.06% 0.074 256.1)
XYZxyz(7.7476, 7.9704, 18.8958)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345178 #785B34
analogous
#347378 #345178 #393478
triadic
#345178 #783451 #517834
tetradic
#345178 #783473 #785B34 #347839
square
#345178 #783473 #785B34 #347839
split-complementary
#345178 #783934 #737834
monochromatic
#0F1723 #21344D #345178 #476EA3 #698DBE

Accessibility & contrast

On white

8.09
#345178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#345178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345178
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345178#FFFFFF#000000##FFFFFF
##3451781.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#394D77
Tritanopia (blue-blind)
#0B5A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345178;
/* rgb */ color: rgb(52, 81, 120);
/* oklch */ color: oklch(43.1% 0.074 256.1);
Tailwind
colors: {
  custom: {
    50: '#71819f',
    500: '#345178',
    950: '#000000',
  },
}
SCSS
$custom: #345178;
$custom-light: #71819f;
$custom-dark: #000000;
JSON
{
  "hex": "#345178",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 214.412,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.07389,
    "h": 256.1
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#345178
secondary
#A68962
accent
#9D58CF
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #345178

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

Preview Lab → · Contrast checker → · Palette generator →

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