#40779C#40779C

#40779C is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.7% C 0.082 H 240.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#40779C
RGBrgb(64, 119, 156)
HSLhsl(204, 42%, 43%)
HSVhsv(204, 59%, 61%)
CMYKcmyk(59%, 23.7%, 0%, 38.8%)
CIE-LABlab(47.86, -6.80, -25.44)
CIE-LCHlch(47.86, 26.34, 255.03°)
OKLaboklab(54.74% -0.0411 -0.0712)
OKLCHoklch(54.74% 0.082 240)
XYZxyz(14.7097, 16.6826, 33.8909)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40779C #9C6540
analogous
#409C93 #40779C #40499C
triadic
#40779C #9C4077 #779C40
tetradic
#40779C #93409C #9C6540 #499C40
square
#40779C #93409C #9C6540 #499C40
split-complementary
#40779C #9C4049 #9C9340
monochromatic
#1C3545 #2E5671 #40779C #5D96BC #88B2CE

Accessibility & contrast

On white

4.84
#40779C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#40779C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40779C
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40779C#FFFFFF#000000##FFFFFF
##40779C1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779E
Deuteranopia (green-blind)
#5A6D9B
Tritanopia (blue-blind)
#008083
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #40779c;
/* rgb */ color: rgb(64, 119, 156);
/* oklch */ color: oklch(54.7% 0.082 240.0);
Tailwind
colors: {
  custom: {
    50: '#7d9eb9',
    500: '#40779c',
    950: '#000000',
  },
}
SCSS
$custom: #40779c;
$custom-light: #7d9eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#40779c",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 156
  },
  "hsl": {
    "h": 204.13,
    "s": 41.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.08223,
    "h": 240
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#40779C
secondary
#B9967F
accent
#8856D2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #40779C

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

Preview Lab → · Contrast checker → · Palette generator →

#40779C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva