#25328F#25328F
#25328F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.153 H 270.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #25328F |
|---|---|
| RGB | rgb(37, 50, 143) |
| HSL | hsl(233, 59%, 35%) |
| HSV | hsv(233, 74%, 56%) |
| CMYK | cmyk(74.1%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.73, 28.29, -52.94) |
| CIE-LCH | lch(25.73, 60.03, 298.11°) |
| OKLab | oklab(37.1% 0.0018 -0.153) |
| OKLCH | oklch(37.1% 0.153 270.7) |
| XYZ | xyz(6.8598, 4.6570, 26.5186) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.19
Blueberry
#464196
ΔE00 5.79
Darkslateblue
#483D8B
ΔE00 6.03
Royal
#0C1793
ΔE00 7.03
Midnight Blue
#191970
ΔE00 7.70
Cobalt
#0047AB
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25328F #8F8225
analogous
#25678F #25328F #4D258F
triadic
#25328F #8F2532 #328F25
tetradic
#25328F #8F2567 #8F8225 #258F4D
square
#25328F #8F2567 #8F8225 #258F4D
split-complementary
#25328F #8F4D25 #678F25
monochromatic
#0C102E #18215E #25328F #3243C0 #5A69D4
Accessibility & contrast
On white
10.87
#25328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#25328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25328F
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25328F | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00388D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #25328f; /* rgb */ color: rgb(37, 50, 143); /* oklch */ color: oklch(37.1% 0.153 270.7);
Tailwind
colors: {
custom: {
50: '#706ab1',
500: '#25328f',
950: '#000000',
},
}SCSS
$custom: #25328f; $custom-light: #706ab1; $custom-dark: #000000;
JSON
{
"hex": "#25328f",
"rgb": {
"r": 37,
"g": 50,
"b": 143
},
"hsl": {
"h": 232.642,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.37102,
"c": 0.15298,
"h": 270.7
},
"luminance": 0.04658
}Semantic roles & 50–950 ramp
primary
#25328F
secondary
#B9AD57
accent
#CF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80