#252973#252973
#252973 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.125 H 274.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #252973 |
|---|---|
| RGB | rgb(37, 41, 115) |
| HSL | hsl(237, 51%, 30%) |
| HSV | hsv(237, 68%, 45%) |
| CMYK | cmyk(67.8%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(20.89, 23.85, -43.22) |
| CIE-LCH | lch(20.89, 49.36, 298.89°) |
| OKLab | oklab(32.76% 0.0104 -0.1245) |
| OKLCH | oklch(32.76% 0.125 274.8) |
| XYZ | xyz(4.6494, 3.2166, 16.5922) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.57
Marine
#042E60
ΔE00 7.10
Royal
#0C1793
ΔE00 7.45
Darkslateblue
#483D8B
ΔE00 7.55
Blueberry
#464196
ΔE00 8.67
Dark Royal Blue
#02066F
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252973 #736F25
analogous
#255073 #252973 #482573
triadic
#252973 #732529 #297325
tetradic
#252973 #732550 #736F25 #257348
square
#252973 #732550 #736F25 #257348
split-complementary
#252973 #734825 #507325
monochromatic
#070817 #161845 #252973 #343AA1 #4D53C6
Accessibility & contrast
On white
12.78
#252973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#252973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252973
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252973 | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #252973; /* rgb */ color: rgb(37, 41, 115); /* oklch */ color: oklch(32.8% 0.125 274.8);
Tailwind
colors: {
custom: {
50: '#6a629c',
500: '#252973',
950: '#000000',
},
}SCSS
$custom: #252973; $custom-light: #6a629c; $custom-dark: #000000;
JSON
{
"hex": "#252973",
"rgb": {
"r": 37,
"g": 41,
"b": 115
},
"hsl": {
"h": 236.923,
"s": 51.316,
"l": 29.804
},
"oklch": {
"l": 0.32764,
"c": 0.12496,
"h": 274.8
},
"luminance": 0.03217
}Semantic roles & 50–950 ramp
primary
#252973
secondary
#A6A14E
accent
#D44DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E