#0318CF

#0318cf ≈ Medium Blue

  • blue
  • Lightness: medium
  • Saturation: vivid
  • Cool

#0318cf is a color from the blue family, with medium lightness and vivid saturation. In the RGB model it is made of 1.18% red, 9.41% green and 81.18% blue; printed in CMYK it uses 98.55% cyan, 88.41% magenta, 0% yellow and 18.82% black. Its hue angle is 233.82°, with 97.14% saturation and 41.18% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and call-to-action buttons. White text on this color reaches a contrast ratio of 10.32:1 (WCAG AAA). The closest named color is Medium Blue (#0000cd), ΔE 2.25.

Description generated from the measured properties of this color.

Conversions of #0318cf into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#0000cc
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0518

Readable text 10.32:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 2.04:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #404040 ≈ 0.003% of males
Achromatomaly #323490 ≈ 0.001% of males
Protanopia #004ad4 ≈ 1.01% of males
Deuteranopia #0035cc ≈ 1.27% of males
Tritanopia #00597a ≈ 0.0001% of males
Protanomaly #003cd2 ≈ 1.08% of males
Deuteranomaly #002ccd ≈ 4.63% of males
Tritanomaly #0048a3 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0318cf {
  color: #0318cf;
}
Background
.bg-0318cf {
  background-color: #0318cf;
  color: #ffffff;
}
Border
.border-0318cf {
  border: 2px solid #0318cf;
}
CSS variables
:root {
  --color-primary: #0318cf;
  --color-primary-rgb: 3 24 207;
  --color-primary-hsl: 234 97% 41%;
}
Gradient
.gradient-0318cf {
  background: linear-gradient(135deg, #0318cf, #5403cf);
}
Colored shadow
.shadow-0318cf {
  box-shadow: 0 8px 24px rgb(3 24 207 / 0.35);
}

Medium Blue
#0318cf  rgb(3, 24, 207)  hsl(234, 97%, 41%)  Medium Blue
#cfba03  rgb(207, 186, 3)  hsl(54, 97%, 41%)  Old Gold
#cf0318  rgb(207, 3, 24)  hsl(354, 97%, 41%)  Lava
#18cf03  rgb(24, 207, 3)  hsl(114, 97%, 41%)  Lime Green