#252951 color
The hex color #252951 is a dark, desaturated blue.
In the RGB color model it is made of 14.5% red, 16.1% green and 31.8% blue (37, 41, 81).
Its hue angle is 235°, with 37% saturation and 23% lightness. For print, the CMYK equivalent is 54% cyan, 49% magenta, 0% yellow and 68% black.
The closest named color is Deep Sea Base (#2C2C57), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.86:1).
#252951 color codes
| HEX | #252951 | |
|---|---|---|
| RGB | rgb(37, 41, 81) | |
| RGB percent | rgb(14.5%, 16.1%, 31.8%) | |
| HSL | hsl(235, 37%, 23%) | |
| HSV / HSB | hsv(235, 54%, 32%) | |
| CMYK | cmyk(54%, 49%, 0%, 68%) | |
| CIE LAB | lab(18.25, 11.11, -25.14) | |
| CIE LCH | lch(18.25, 27.48, 293.85) | |
| CIE XYZ | xyz(3.041, 2.573, 8.119) | |
| Decimal | 2435409 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #252951, 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 #252951 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.51:1 | Fail | Fail | Fail |
| Sample text | 13.86:1 | Pass | Pass | Pass |
| #252951 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.86:1 | Pass | Pass | Pass |
| Sample text | 1.51:1 | Fail | Fail | Fail |
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 #252951 looks to people with the most common types of color vision deficiency.
#182e52Protanopia
no red cones#142b50Deuteranopia
no green cones#143239Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #252951; }
.text { color: #252951; }
.border { border: 2px solid #252951; }
.transparent { background-color: rgb(37 41 81 / 50%); }
.gradient { background: linear-gradient(to right, #252951, #372551); }
Similar colors
#2c2c57Deep Sea Base#1d2951Space Cadet#2a2551Pāua#2e305eGalaxea#222244Black Market#322c56Purple Noir#222255Spacescape#1c1e4dFly-by-Night
Closest common color name: Oxford Blue.
Questions
- What color is #252951?
- #252951 is a dark, desaturated blue, closest to the named color Deep Sea Base. It belongs to the blue family of colors.
- What is the RGB value of #252951?
- The RGB value is 37, 41, 81: 37 red, 41 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #252951?
- The complementary color is #514D25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #252951?
- White text. Black text has a contrast ratio of 1.51:1 and white text 13.86:1. WCAG asks for at least 4.5:1 for normal text.