#25306F#25306F
#25306F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.109 H 271.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).
Color values
| HEX | #25306F |
|---|---|
| RGB | rgb(37, 48, 111) |
| HSL | hsl(231, 50%, 29%) |
| HSV | hsv(231, 67%, 44%) |
| CMYK | cmyk(66.7%, 56.8%, 0%, 56.5%) |
| CIE-LAB | lab(22.49, 17.44, -38.05) |
| CIE-LCH | lch(22.49, 41.85, 294.63°) |
| OKLab | oklab(33.85% 0.0035 -0.1092) |
| OKLCH | oklch(33.85% 0.109 271.8) |
| XYZ | xyz(4.6882, 3.6545, 15.4942) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.21
Marine Blue
#01386A
ΔE00 6.98
Navy Blue
#1B2A4A
ΔE00 7.18
Midnight Blue
#191970
ΔE00 7.25
Darkslateblue
#483D8B
ΔE00 7.40
Darkish Blue
#014182
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25306F #6F6425
analogous
#25556F #25306F #3F256F
triadic
#25306F #6F2530 #306F25
tetradic
#25306F #6F2555 #6F6425 #256F3F
square
#25306F #6F2555 #6F6425 #256F3F
split-complementary
#25306F #6F3F25 #556F25
monochromatic
#080A17 #161C41 #25306F #34449D #4B5DC3
Accessibility & contrast
On white
12.13
#25306F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#25306F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25306F
12.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25306F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25306F | 1.00 | 12.13 | 1.73 | 12.13 |
| #FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#043971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #25306f; /* rgb */ color: rgb(37, 48, 111); /* oklch */ color: oklch(33.9% 0.109 271.8);
Tailwind
colors: {
custom: {
50: '#686899',
500: '#25306f',
950: '#000000',
},
}SCSS
$custom: #25306f; $custom-light: #686899; $custom-dark: #000000;
JSON
{
"hex": "#25306f",
"rgb": {
"r": 37,
"g": 48,
"b": 111
},
"hsl": {
"h": 231.081,
"s": 50,
"l": 29.02
},
"oklch": {
"l": 0.33853,
"c": 0.10929,
"h": 271.8
},
"luminance": 0.03655
}Semantic roles & 50–950 ramp
primary
#25306F
secondary
#A2954E
accent
#C54EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E