#40778E#40778E

#40778E is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.1% C 0.068 H 227.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#40778E
RGBrgb(64, 119, 142)
HSLhsl(198, 38%, 40%)
HSVhsv(198, 55%, 56%)
CMYKcmyk(54.9%, 16.2%, 0%, 44.3%)
CIE-LABlab(47.28, -11.30, -18.08)
CIE-LCHlch(47.28, 21.32, 238.00°)
OKLaboklab(54.09% -0.0463 -0.0502)
OKLCHoklch(54.09% 0.068 227.3)
XYZxyz(13.5918, 16.2355, 28.0034)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40778E #8E5740
analogous
#408E7E #40778E #40508E
triadic
#40778E #8E4077 #778E40
tetradic
#40778E #7E408E #8E5740 #508E40
square
#40778E #7E408E #8E5740 #508E40
split-complementary
#40778E #8E4050 #8E7E40
monochromatic
#1A303A #2D5464 #40778E #5898B4 #82B2C7

Accessibility & contrast

On white

4.94
#40778E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#40778E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40778E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40778E#FFFFFF#000000##FFFFFF
##40778E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758F
Deuteranopia (green-blind)
#606C8E
Tritanopia (blue-blind)
#067E7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40778e;
/* rgb */ color: rgb(64, 119, 142);
/* oklch */ color: oklch(54.1% 0.068 227.3);
Tailwind
colors: {
  custom: {
    50: '#7b9eaf',
    500: '#40778e',
    950: '#000000',
  },
}
SCSS
$custom: #40778e;
$custom-light: #7b9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40778e",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 142
  },
  "hsl": {
    "h": 197.692,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.06834,
    "h": 227.3
  },
  "luminance": 0.16237
}

Semantic roles & 50–950 ramp

primary
#40778E
secondary
#B18979
accent
#7C5ACE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #40778E

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

Preview Lab → · Contrast checker → · Palette generator →

#40778E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva