#40779A#40779A

#40779A is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.080 H 238.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#40779A
RGBrgb(64, 119, 154)
HSLhsl(203, 41%, 43%)
HSVhsv(203, 58%, 60%)
CMYKcmyk(58.4%, 22.7%, 0%, 39.6%)
CIE-LABlab(47.77, -7.46, -24.40)
CIE-LCHlch(47.77, 25.51, 253.01°)
OKLaboklab(54.64% -0.0418 -0.0682)
OKLCHoklch(54.64% 0.08 238.5)
XYZxyz(14.5417, 16.6154, 33.0063)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40779A #9A6340
analogous
#409A90 #40779A #404A9A
triadic
#40779A #9A4077 #779A40
tetradic
#40779A #90409A #9A6340 #4A9A40
square
#40779A #90409A #9A6340 #4A9A40
split-complementary
#40779A #9A404A #9A9040
monochromatic
#1C3444 #2E566F #40779A #5C96BB #87B2CD

Accessibility & contrast

On white

4.86
#40779A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#40779A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40779A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40779A#FFFFFF#000000##FFFFFF
##40779A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779C
Deuteranopia (green-blind)
#5B6D99
Tritanopia (blue-blind)
#008083
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #40779a;
/* rgb */ color: rgb(64, 119, 154);
/* oklch */ color: oklch(54.6% 0.080 238.5);
Tailwind
colors: {
  custom: {
    50: '#7c9eb8',
    500: '#40779a',
    950: '#000000',
  },
}
SCSS
$custom: #40779a;
$custom-light: #7c9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#40779a",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 154
  },
  "hsl": {
    "h": 203.333,
    "s": 41.284,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.08002,
    "h": 238.5
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#40779A
secondary
#B8947E
accent
#8657D1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #40779A

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

Preview Lab → · Contrast checker → · Palette generator →

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