#25306C#25306C
#25306C is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.105 H 271.8°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #25306C |
|---|---|
| RGB | rgb(37, 48, 108) |
| HSL | hsl(231, 49%, 28%) |
| HSV | hsv(231, 66%, 42%) |
| CMYK | cmyk(65.7%, 55.6%, 0%, 57.6%) |
| CIE-LAB | lab(22.27, 16.29, -36.48) |
| CIE-LCH | lch(22.27, 39.96, 294.06°) |
| OKLab | oklab(33.61% 0.0033 -0.1046) |
| OKLCH | oklch(33.61% 0.105 271.8) |
| XYZ | xyz(4.5258, 3.5895, 14.6388) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.99
Navy Blue
#1B2A4A
ΔE00 6.71
Marine Blue
#01386A
ΔE00 6.89
Midnight Blue
#191970
ΔE00 7.54
Darkslateblue
#483D8B
ΔE00 7.72
Darkish Blue
#014182
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25306C #6C6125
analogous
#25536C #25306C #3D256C
triadic
#25306C #6C2530 #306C25
tetradic
#25306C #6C2553 #6C6125 #256C3D
square
#25306C #6C2553 #6C6125 #256C3D
split-complementary
#25306C #6C3D25 #536C25
monochromatic
#080A17 #151C3E #25306C #35449A #4A5DC1
Accessibility & contrast
On white
12.22
#25306C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#25306C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25306C
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25306C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25306C | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B396E
Deuteranopia (green-blind)
#00326B
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #25306c; /* rgb */ color: rgb(37, 48, 108); /* oklch */ color: oklch(33.6% 0.105 271.8);
Tailwind
colors: {
custom: {
50: '#686897',
500: '#25306c',
950: '#000000',
},
}SCSS
$custom: #25306c; $custom-light: #686897; $custom-dark: #000000;
JSON
{
"hex": "#25306c",
"rgb": {
"r": 37,
"g": 48,
"b": 108
},
"hsl": {
"h": 230.704,
"s": 48.966,
"l": 28.431
},
"oklch": {
"l": 0.33607,
"c": 0.10469,
"h": 271.8
},
"luminance": 0.0359
}Semantic roles & 50–950 ramp
primary
#25306C
secondary
#9F924E
accent
#C34FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E