#12438C
Color Details
HEX
#12438C
RGB
rgb(18, 67, 140)
HSL
hsl(216, 77%, 31%)
CMYK
cmyk(87%, 52%, 0%, 45%)
Best text on this color
#FFFFFF (CR 9.51:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #12438C
#12438C converts to RGB(18, 67, 140) and HSL(216, 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).
#12438C FAQs
What is the RGB value of #12438C?
RGB: 18, 67, 140. Copy as CSS:
rgb(18, 67, 140)
Is #12438C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #12438C?
Complement: #8c5b12.
Does #12438C have good contrast on white or black?
On white: 9.51:1 (AAA (normal text)).
On black: 2.21:1 (Fails AA).