Black Friday 2026: design deals we check every day. See the deals →

#152F7A Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

 
#152f7a
Hex color #152f7a graphic
#152f7a is a deep, cool blue with high saturation and low lightness, giving it a controlled, serious feel. Its navy character suits finance, security, government, and technology branding. Use it as a dominant background or dark-mode base; white text reaches about 12.2:1 contrast, comfortably meeting WCAG AA for body text. The hex code is #152f7a.

Color Conversions

Hex color #152f7a converted to various formats including hex, rgb, hsl, and more.

  • Hex#152f7a
  • RGBrgb(21, 47, 122)
  • RGB Percentagesrgb(8%, 18%, 48%)
  • CMYK83%, 61%, 0%, 52%
  • HSLhsl(225, 71%, 28%)
  • HSVhsv(225, 83%, 48%)
  • OKLCHoklch(33.8% 0.132 265.2)
  • LCH22, 50, 294
  • LAB22, 20, -45
  • LUV22, -9, -54
  • XYZ5, 4, 19
  • Closest Tailwind Colorblue-900

Color Variations

Variations of this color including shaded, tints, and complementary colors.

Brighten

Tints of the color as they brighten toward white.

#152f7a
#294488
#3e5896
#536ca3
#6a80b1
#8195be
#99a9cb
#b2bed8
#cbd4e5
#e5e9f2

Darken

Shades of the color as they darken toward black.

#152f7a
#112769
#0c2059
#081949
#05123a
#030c2b
#02061d
#010310
#000105
#000001

Desaturate

Desaturated versions of this color.

#152f7a
#1f387c
#29417d
#334a7e
#3e527f
#485a80
#536280
#5e6981
#697181
#757881

Hue

Various hues of this color.

#7a1551
#79157a
#4f157a
#25157a
#152f7a
#15597a
#157a71
#157a47
#157a1d

Analogous

Analogous color palette of this color, meaning colors that are next to each other on the color wheel.

#152f7a
#15577a
#15437a

Monochromatic

Monochromatic colors for this color, monochromatic colors are all of the same hue.

#152f7a
#1c3fa4
#2450cf
#2b60f9
#060e25
#0e1f4f

Complementary

Complementary colors for this color, complementary colors are opposites on the color wheel.

#152f7a
#7a6015

Split Complement

Split-complementary colors which use adjacent colors of this color’s complementary color.

#152f7a
#74157a
#577a15

Triad

Triad colors which pull themselves in a triangle across the color wheel.

#152f7a
#7a152f
#2f7a15

Tetrad

Tetrad colors which pull themselves in a square shape across the color wheel.

#152f7a
#7a1561
#7a6015
#157a2d

Contrast Checker

Contrast test results for the color #152f7a on black and white backgrounds.
Open in contrast checker →

White Background

Passes AAA
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Black Background

Fails WCAG
Example Headline (24px)

The font-size of this text is 18.5px. Click anywhere to edit this text. Lorem Ipsum is simply dummy text of the printing and typesetting industry.

Color Blindness Simulation

See how #152f7a appears to people with color vision deficiency (CVD).

Normal Vision
#152f7a
Protanopia
#2b2b7a
Red-blind (~1% of males)
Deuteranopia
#26267b
Green-blind (~1% of males)
Tritanopia
#0b3838
Blue-blind (very rare)
Achromatopsia
#2f2f2f
Total color blindness

Questions about #152f7a

What is #152f7a in RGB, HSL and CMYK?
In RGB, #152f7a is rgb(21, 47, 122), in HSL hsl(225, 71%, 28%) and in CMYK 83%, 61%, 0%, 52%. Browse more shades of blue with names and hex codes.
What colors pair well with #152f7a?
#152f7a pairs well with burgundy, muted terracotta, and pale blue-gray because warm accents soften its cool depth while lighter neutrals preserve contrast. This makes the palette suitable for formal brands that still need visual warmth and a clear focal accent.
Is #152f7a readable on white or black?
#152f7a has a 12.21:1 contrast ratio on white and 1.71:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it works for body text and on black it is too faint for text. Try other pairs in the contrast checker.