#123D8C
Color Details
HEX
#123D8C
RGB
rgb(18, 61, 140)
HSL
hsl(219, 77%, 31%)
CMYK
cmyk(87%, 56%, 0%, 45%)
Best text on this color
#FFFFFF (CR 10.14:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #123D8C
#123D8C converts to RGB(18, 61, 140) and HSL(219, 77%, 31%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#123D8C FAQs
What is the RGB value of #123D8C?
RGB: 18, 61, 140. Copy as CSS:
rgb(18, 61, 140)
Is #123D8C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #123D8C?
Complement: #8c6112.
Does #123D8C have good contrast on white or black?
On white: 10.14:1 (AAA (normal text)).
On black: 2.07:1 (Fails AA).