#40799B

#40799b ≈ Cerulean

  • azure
  • Lightness: medium
  • Saturation: moderate
  • Cool

#40799b is a color from the azure family, with medium lightness and moderate saturation. In the RGB model it is made of 25.1% red, 47.45% green and 60.78% blue; printed in CMYK it uses 58.71% cyan, 21.94% magenta, 0% yellow and 39.22% black. Its hue angle is 202.42°, with 41.55% saturation and 42.94% lightness in HSL. It is a cool color, often associated with openness, freedom and calm. Designers typically use it for technology products, finance and banking and brand accents. White text on this color reaches a contrast ratio of 4.74:1 (WCAG AA). The closest named color is Cerulean (#007ba7), ΔE 3.94.

Description generated from the measured properties of this color.

Conversions of #40799b into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#336699
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.1713

Readable text 4.74:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.43:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #737373 ≈ 0.003% of males
Achromatomaly #627585 ≈ 0.001% of males
Protanopia #69789d ≈ 1.01% of males
Deuteranopia #5d6f9a ≈ 1.27% of males
Tritanopia #008284 ≈ 0.0001% of males
Protanomaly #5b799c ≈ 1.08% of males
Deuteranomaly #53739b ≈ 4.63% of males
Tritanomaly #217e8e ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-40799b {
  color: #40799b;
}
Background
.bg-40799b {
  background-color: #40799b;
  color: #ffffff;
}
Border
.border-40799b {
  border: 2px solid #40799b;
}
CSS variables
:root {
  --color-primary: #40799b;
  --color-primary-rgb: 64 121 155;
  --color-primary-hsl: 202 42% 43%;
}
Gradient
.gradient-40799b {
  background: linear-gradient(135deg, #40799b, #404b9b);
}
Colored shadow
.shadow-40799b {
  box-shadow: 0 8px 24px rgb(64 121 155 / 0.35);
}

Cerulean
#40799b  rgb(64, 121, 155)  hsl(202, 42%, 43%)  Cerulean
#9b6240  rgb(155, 98, 64)  hsl(22, 42%, 43%)  Sienna
#9b4079  rgb(155, 64, 121)  hsl(322, 42%, 43%)  Deep Plum
#799b40  rgb(121, 155, 64)  hsl(82, 42%, 43%)  Olive Drab