Color #318ece
A moderately saturated medium blue.
Conversions
#318ece
rgb(49, 142, 206)
hsl(204.5, 61.6%, 50%)
hsv(204.5, 76.2%, 80.8%)
cmyk(76.2%, 31.1%, 0%, 19.2%)
lab(56.54, -5.32, -40.65)
lch(56.54, 41, 262.54)
oklch(62.2%, 0.129, 243.28)
hwb(204.5, 19.2%, 19.2%)
Harmony colors
Accessibility
Black text reads better on this background (5.89:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6767c1 · ΔE 19.7
Deuteranopia
#615abe · ΔE 23.1
Tritanopia
#3ab6b3 · ΔE 24.8
Achromatopsia
#888888 · ΔE 21.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #318ece;
bg-[#318ece]
Related colors
Frequently asked questions
#318ece (#318ece) is rgb(49, 142, 206) in RGB.
No, #318ece is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #318ece, or check how it holds up for accessibility.