#25398D color
The hex color #25398D is a dark, moderate blue.
In the RGB color model it is made of 14.5% red, 22.4% green and 55.3% blue (37, 57, 141).
Its hue angle is 228°, with 58% saturation and 35% lightness. For print, the CMYK equivalent is 74% cyan, 60% magenta, 0% yellow and 45% black.
The closest named color is Deep Space Royal (#223382), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.25:1).
#25398D color codes
| HEX | #25398D | |
|---|---|---|
| RGB | rgb(37, 57, 141) | |
| RGB percent | rgb(14.5%, 22.4%, 55.3%) | |
| HSL | hsl(228, 58%, 35%) | |
| HSV / HSB | hsv(228, 74%, 55%) | |
| CMYK | cmyk(74%, 60%, 0%, 45%) | |
| CIE LAB | lab(27.41, 22.78, -48.97) | |
| CIE LCH | lch(27.41, 54.01, 294.95) | |
| CIE XYZ | xyz(7.032, 5.242, 25.835) | |
| Decimal | 2439565 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #25398D, 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 #25398D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.05:1 | Fail | Fail | Fail |
| Sample text | 10.25:1 | Pass | Pass | Pass |
| #25398D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.25:1 | Pass | Pass | Pass |
| Sample text | 2.05: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 #25398D looks to people with the most common types of color vision deficiency.
#004690Protanopia
no red cones#003c8bDeuteranopia
no green cones#004e5dTritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #25398d; }
.text { color: #25398d; }
.border { border: 2px solid #25398d; }
.transparent { background-color: rgb(37 57 141 / 50%); }
.gradient { background: linear-gradient(to right, #25398d, #45258d); }
Similar colors
#223382Deep Space Royal#2d3796Liquid Denim#273287Intergalactic Highway#003388One Minute to Midnight#003399Smalt#313390Perfect Dark#2b3191Royal Night#1c3378Twilight Express
Closest common color name: Egyptian Blue.
Questions
- What color is #25398D?
- #25398D is a dark, moderate blue, closest to the named color Deep Space Royal. It belongs to the blue family of colors.
- What is the RGB value of #25398D?
- The RGB value is 37, 57, 141: 37 red, 57 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #25398D?
- The complementary color is #8D7925, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #25398D?
- White text. Black text has a contrast ratio of 2.05:1 and white text 10.25:1. WCAG asks for at least 4.5:1 for normal text.