Maroon Colors  ·  Color Library

Palettes / Colors / #1237B2

#1237B2 — Vivid Blue

#1237B2 is a blue color we call Vivid Blue, closest to the named color DarkSlateBlue (#483D8B). It belongs to the blue family.

Color name

Closest CSS keyword: darkslateblue (#483D8B) — not an exact match. CSS darkslateblue gives you #483D8B, a different color; use #1237B2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#1237B2 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #B08B11; it also sits naturally between #1186B0 and #3C11B0. In the palettes below you can see it working alongside real color combinations from our collection.

#1237B2 · RGB 18, 55, 178

Download PNG swatch SVG

Color values

HEX#1237B2
RGB18, 55, 178
HSL226°, 82%, 38%
HSV226°, 90%, 70%
CMYK90%, 69%, 0%, 30%
XYZ9.65, 6.08, 42.78
Yxy6.08, 0.1650, 0.1038
CIE-Lab29.60, 36.71, -67.86
Hunter Lab24.65, 28.52, -90.35

RGB & CMYK percentages

Red 7% · Green 22% · Blue 70%

Cyan 90% · Magenta 69% · Yellow 0% · Key 30%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #1237B2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #1237B2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #1237B2

.text { color: #1237B2; }
.background { background-color: #1237B2; }
.border { border: 3px solid #1237B2; }
.text-rgb { color: rgb(18, 55, 178); }
.text-hsl { color: hsl(226, 82%, 38%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #1237B2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(18, 55, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #1237B2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(18, 55, 178, 0.8); }

HTML: <p style="color:#1237B2">Text here</p> · <div style="background-color:#1237B2">Div content here</div>

Shades of #1237B2

#1032A2#0E2C90#0D2882#0B226F#0A1E61#081A54#061441#051033#030A20#020613

Tints of #1237B2

#143FCC#1748E8#2E5AEA#4A70ED#6686F0#829CF3#9EB2F5#B5C4F8#D1DAFA#ECF0FD

Tones of #1237B2

#1D3DA5#28429A#33498E#3F4F83#4B5577#555B6D

Color harmonies

Complementary — #B08B11:

Analogous:

Triadic:

Contrast & accessibility

Against white text9.48:1 AAA
Against black text2.22:1 Fails

Best text color on #1237B2: #FFFFFF.

Semi-transparent (opacity) text on #1237B2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #1237B2: ·

How #1237B2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #222294Deuteranopia · #201D8DTritanopia · #147D78

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #1237B2 rather than the exact color:

Palette 1230ae
#1230AE · #6C48C5 · #C68FE6 · #FFF7F7
Honey Aurora
#16912A · #28D5A2 · #209FC9 · #1A3AB4
Royal Ruby Solace
#2A7EB1 · #1B38AB · #29176D · #471067
Crystal Ruby Aurora
#134077 · #1143B0 · #6895D5 · #CBEFEE
Palette 093fb4
#093FB4 · #FFFCFB · #FFD8D8 · #ED3500
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#1230AE#1A3AB4#1B38AB#1143B0#093FB4#1A2EAF#1838A7#1737A5#1C39BC#1E39BC#0F42C0#0F25B4

Browse neighbouring colors

← #1237B1  ·  #1237B3 →

Frequently asked questions

What color is #1237B2?

#1237B2 is Vivid Blue, a blue color (RGB 18, 55, 178). Its closest standard named color is DarkSlateBlue.

What is the RGB and HSL of #1237B2?

#1237B2 is RGB 18, 55, 178 — HSL 226°, 82%, 38% — CMYK 90%, 69%, 0%, 30%.

What colors go with #1237B2?

Its complement is #B08B11; analogous partners are #1186B0 and #3C11B0. It also appears in 6+ palettes in our collection.

Can I use #1237B2 for text?

White text on #1237B2 has a contrast ratio of 9.48:1 (passes WCAG AA); black text gives 2.22:1.