#40779F#40779F

#40779F is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.9% C 0.086 H 242.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#40779F
RGBrgb(64, 119, 159)
HSLhsl(205, 43%, 44%)
HSVhsv(205, 60%, 62%)
CMYKcmyk(59.7%, 25.2%, 0%, 37.6%)
CIE-LABlab(47.99, -5.81, -27.00)
CIE-LCHlch(47.99, 27.62, 257.85°)
OKLaboklab(54.89% -0.04 -0.0757)
OKLCHoklch(54.89% 0.086 242.1)
XYZxyz(14.9669, 16.7855, 35.2453)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40779F #9F6840
analogous
#409F97 #40779F #40479F
triadic
#40779F #9F4077 #779F40
tetradic
#40779F #97409F #9F6840 #479F40
square
#40779F #97409F #9F6840 #479F40
split-complementary
#40779F #9F4047 #9F9740
monochromatic
#1D3648 #2E5673 #40779F #5E96BE #8AB2D0

Accessibility & contrast

On white

4.82
#40779F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#40779F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #40779F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40779F#FFFFFF#000000##FFFFFF
##40779F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#586E9E
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #40779f;
/* rgb */ color: rgb(64, 119, 159);
/* oklch */ color: oklch(54.9% 0.086 242.1);
Tailwind
colors: {
  custom: {
    50: '#7d9ebb',
    500: '#40779f',
    950: '#000000',
  },
}
SCSS
$custom: #40779f;
$custom-light: #7d9ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#40779f",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 159
  },
  "hsl": {
    "h": 205.263,
    "s": 42.601,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.08565,
    "h": 242.1
  },
  "luminance": 0.16787
}

Semantic roles & 50–950 ramp

primary
#40779F
secondary
#BB9980
accent
#8A55D2
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #40779F

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

Preview Lab → · Contrast checker → · Palette generator →

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