#232540 color

#232540 rgb(35, 37, 64)
Shades of blue

The hex color #232540 is a very dark, desaturated blue.

In the RGB color model it is made of 13.7% red, 14.5% green and 25.1% blue (35, 37, 64).

Its hue angle is 236°, with 29% saturation and 19% lightness. For print, the CMYK equivalent is 45% cyan, 42% magenta, 0% yellow and 75% black.

The closest named color is Black Market (#222244), a difference of 2.8 ΔE, a small difference.

White text is the more readable choice on this background (contrast 14.89:1).

#232540 color codes

HEX#232540
RGBrgb(35, 37, 64)
RGB percentrgb(13.7%, 14.5%, 25.1%)
HSLhsl(236, 29%, 19%)
HSV / HSBhsv(236, 45%, 25%)
CMYKcmyk(45%, 42%, 0%, 75%)
CIE LABlab(15.75, 7.34, -17.47)
CIE LCHlch(15.75, 18.95, 292.8)
CIE XYZxyz(2.28, 2.051, 5.125)
Decimal2303296
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #232540, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #232540RatioAAAAAAA large
Sample text1.41:1FailFailFail
Sample text14.89:1PassPassPass
#232540 as text onRatioAAAAAAA large
Sample text14.89:1PassPassPass
Sample text1.41:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #232540 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #232540; }
.text { color: #232540; }
.border { border: 2px solid #232540; }
.transparent { background-color: rgb(35 37 64 / 50%); }
.gradient { background: linear-gradient(to right, #232540, #2f2340); }
Background
Text color
Border

Similar colors

Closest common color name: Oxford Blue.

Questions

What color is #232540?
#232540 is a very dark, desaturated blue, closest to the named color Black Market. It belongs to the blue family of colors.
What is the RGB value of #232540?
The RGB value is 35, 37, 64: 35 red, 37 green and 64 blue on a 0 to 255 scale.
What is the complementary color of #232540?
The complementary color is #403E23, found by rotating the hue 180° on the color wheel.
Is black or white text better on #232540?
White text. Black text has a contrast ratio of 1.41:1 and white text 14.89:1. WCAG asks for at least 4.5:1 for normal text.