#40778F#40778F

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

Color values

HEX#40778F
RGBrgb(64, 119, 143)
HSLhsl(198, 38%, 41%)
HSVhsv(198, 55%, 56%)
CMYKcmyk(55.2%, 16.8%, 0%, 43.9%)
CIE-LABlab(47.32, -10.99, -18.61)
CIE-LCHlch(47.32, 21.61, 239.45°)
OKLaboklab(54.14% -0.0459 -0.0517)
OKLCHoklch(54.14% 0.069 228.4)
XYZxyz(13.6672, 16.2656, 28.4006)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40778F #8F5840
analogous
#408F7F #40778F #404F8F
triadic
#40778F #8F4077 #778F40
tetradic
#40778F #7F408F #8F5840 #4F8F40
square
#40778F #7F408F #8F5840 #4F8F40
split-complementary
#40778F #8F404F #8F7F40
monochromatic
#1A313A #2D5465 #40778F #5898B4 #82B2C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40778F#FFFFFF#000000##FFFFFF
##40778F1.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)
#6B7590
Deuteranopia (green-blind)
#5F6D8F
Tritanopia (blue-blind)
#047E7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #40778f;
/* rgb */ color: rgb(64, 119, 143);
/* oklch */ color: oklch(54.1% 0.069 228.4);
Tailwind
colors: {
  custom: {
    50: '#7b9eaf',
    500: '#40778f',
    950: '#000000',
  },
}
SCSS
$custom: #40778f;
$custom-light: #7b9eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#40778f",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 143
  },
  "hsl": {
    "h": 198.228,
    "s": 38.164,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.06919,
    "h": 228.4
  },
  "luminance": 0.16267
}

Semantic roles & 50–950 ramp

primary
#40778F
secondary
#B28A79
accent
#7D5ACE
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#0A0E10
muted
#7C7E7F

Preview Lab

Preview with #40778F

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

Preview Lab → · Contrast checker → · Palette generator →

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