#40779B#40779B

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

Color values

HEX#40779B
RGBrgb(64, 119, 155)
HSLhsl(204, 42%, 43%)
HSVhsv(204, 59%, 61%)
CMYKcmyk(58.7%, 23.2%, 0%, 39.2%)
CIE-LABlab(47.81, -7.13, -24.92)
CIE-LCHlch(47.81, 25.92, 254.03°)
OKLaboklab(54.69% -0.0414 -0.0697)
OKLCHoklch(54.69% 0.081 239.3)
XYZxyz(14.6254, 16.6489, 33.4468)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40779B #9B6440
analogous
#409B91 #40779B #40499B
triadic
#40779B #9B4077 #779B40
tetradic
#40779B #91409B #9B6440 #499B40
square
#40779B #91409B #9B6440 #499B40
split-complementary
#40779B #9B4049 #9B9140
monochromatic
#1C3444 #2E5670 #40779B #5C96BC #88B2CE

Accessibility & contrast

On white

4.85
#40779B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#40779B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40779B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40779B#FFFFFF#000000##FFFFFF
##40779B1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40779b;
/* rgb */ color: rgb(64, 119, 155);
/* oklch */ color: oklch(54.7% 0.081 239.3);
Tailwind
colors: {
  custom: {
    50: '#7d9eb8',
    500: '#40779b',
    950: '#000000',
  },
}
SCSS
$custom: #40779b;
$custom-light: #7d9eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#40779b",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 155
  },
  "hsl": {
    "h": 203.736,
    "s": 41.553,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.08113,
    "h": 239.3
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#40779B
secondary
#B8957E
accent
#8756D1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #40779B

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

Preview Lab → · Contrast checker → · Palette generator →

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