#345978#345978

#345978 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.0% C 0.067 H 245.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#345978
RGBrgb(52, 89, 120)
HSLhsl(207, 40%, 34%)
HSVhsv(207, 57%, 47%)
CMYKcmyk(56.7%, 25.8%, 0%, 52.9%)
CIE-LABlab(36.42, -3.45, -21.58)
CIE-LCHlch(36.42, 21.86, 260.92°)
OKLaboklab(45.02% -0.0278 -0.0604)
OKLCHoklch(45.02% 0.067 245.3)
XYZxyz(8.3775, 9.2302, 19.1058)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345978 #785334
analogous
#347875 #345978 #343778
triadic
#345978 #783459 #597834
tetradic
#345978 #753478 #785334 #377834
square
#345978 #753478 #785334 #377834
split-complementary
#345978 #783437 #787534
monochromatic
#0F1A23 #21394D #345978 #4779A3 #6997BE

Accessibility & contrast

On white

7.38
#345978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#345978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345978
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345978#FFFFFF#000000##FFFFFF
##3459781.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A79
Deuteranopia (green-blind)
#435377
Tritanopia (blue-blind)
#066064
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345978;
/* rgb */ color: rgb(52, 89, 120);
/* oklch */ color: oklch(45.0% 0.067 245.3);
Tailwind
colors: {
  custom: {
    50: '#71879f',
    500: '#345978',
    950: '#000000',
  },
}
SCSS
$custom: #345978;
$custom-light: #71879f;
$custom-dark: #000000;
JSON
{
  "hex": "#345978",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 207.353,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.0665,
    "h": 245.3
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#345978
secondary
#A68162
accent
#8F58CF
background
#F7F8F9
surface
#EDEFF2
border
#C8CACC
text
#080B0E
muted
#7B7C7E

Preview Lab

Preview with #345978

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

Preview Lab → · Contrast checker → · Palette generator →

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