#25339F#25339F
#25339F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.173 H 270.0°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #25339F |
|---|---|
| RGB | rgb(37, 51, 159) |
| HSL | hsl(233, 62%, 38%) |
| HSV | hsv(233, 77%, 62%) |
| CMYK | cmyk(76.7%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.47, 33.58, -59.90) |
| CIE-LCH | lch(27.47, 68.67, 299.27°) |
| OKLab | oklab(38.83% 0.0001 -0.1733) |
| OKLCH | oklch(38.83% 0.173 270) |
| XYZ | xyz(8.2026, 5.2633, 33.3778) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blueberry
#464196
ΔE00 5.77
Blue Blue
#2242C7
ΔE00 6.64
Darkslateblue
#483D8B
ΔE00 6.64
Ocean Blue
#4F42B5
ΔE00 7.00
Royal
#0C1793
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#25339F #9F9125
analogous
#25709F #25339F #54259F
triadic
#25339F #9F2533 #339F25
tetradic
#25339F #9F2570 #9F9125 #259F54
square
#25339F #9F2570 #9F9125 #259F54
split-complementary
#25339F #9F5425 #709F25
monochromatic
#0E133C #19236D #25339F #3244CF #6471DB
Accessibility & contrast
On white
10.23
#25339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#25339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #25339F
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##25339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##25339F | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #25339f; /* rgb */ color: rgb(37, 51, 159); /* oklch */ color: oklch(38.8% 0.173 270.0);
Tailwind
colors: {
custom: {
50: '#746bbc',
500: '#25339f',
950: '#000000',
},
}SCSS
$custom: #25339f; $custom-light: #746bbc; $custom-dark: #000000;
JSON
{
"hex": "#25339f",
"rgb": {
"r": 37,
"g": 51,
"b": 159
},
"hsl": {
"h": 233.115,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.3883,
"c": 0.17333,
"h": 270
},
"luminance": 0.05264
}Semantic roles & 50–950 ramp
primary
#25339F
secondary
#C0B55F
accent
#D342E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81