Skip to content

#123766

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

RGB
18, 55, 102
HSL
214°, 70%, 24%
CMYK
82, 46, 0, 60
Luminance
0.0382

Every format

HEX#123766
RGBrgb(18, 55, 102)
HSLhsl(214, 70%, 24%)
CMYKcmyk(82%, 46%, 0%, 60%)
LABlab(23.1 5.7 -31.4)
LCHlch(23.1 31.9 280.3)
OKLCHoklch(0.338 0.092 256.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#123766 on white: 11.90:1
AA ✓ pass · AA-large · AAA
Aa
#123766 on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green21.6%
Blue40.0%

CMYK percentages

Cyan82.4%
Magenta46.1%
Yellow0.0%
Key (black)60.0%

Color previews

#123766 text on a black background

contrast 1.76:1

Card sample

#123766 text on a white background

contrast 11.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #123766

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #123766 in the Color Lab