Skip to content

#123760

a deep, vivid blue · cool · closest name: darkslategray

RGB
18, 55, 96
HSL
212°, 68%, 22%
CMYK
81, 43, 0, 62
Luminance
0.0371

Every format

HEX#123760
RGBrgb(18, 55, 96)
HSLhsl(212, 68%, 22%)
CMYKcmyk(81%, 43%, 0%, 62%)
LABlab(22.7 3.2 -28.1)
LCHlch(22.7 28.3 276.4)
OKLCHoklch(0.334 0.084 253.5)

Copy-ready code

/* CSS */
color: #123760;
background-color: #123760;
/* Tailwind (arbitrary) */
class="text-[#123760] bg-[#123760]"
/* SCSS */
$brand: #123760;
/* SwiftUI */
Color(red: 0.071, green: 0.216, blue: 0.376)
/* Android */
Color.parseColor("#123760")

Accessibility — WCAG contrast

Aa
#123760 on white: 12.06:1
AA ✓ pass · AA-large · AAA
Aa
#123760 on black: 1.74:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green21.6%
Blue37.6%

CMYK percentages

Cyan81.3%
Magenta42.7%
Yellow0.0%
Key (black)62.4%

Color previews

#123760 text on a black background

contrast 1.74:1

Card sample

#123760 text on a white background

contrast 12.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #123760;
Background color
Panel with #123760 background
background-color: #123760;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #123760;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(18, 55, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 55, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #123760;
background: linear-gradient(135deg, #123760, #211260);

Monochromatic scale

Palettes built from #123760

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #123760 in the Color Lab