#51639B#51639B
#51639B is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.0% C 0.092 H 269.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #51639B |
|---|---|
| RGB | rgb(81, 99, 155) |
| HSL | hsl(225, 31%, 46%) |
| HSV | hsv(225, 48%, 61%) |
| CMYK | cmyk(47.7%, 36.1%, 0%, 39.2%) |
| CIE-LAB | lab(42.82, 9.06, -32.65) |
| CIE-LCH | lch(42.82, 33.88, 285.51°) |
| OKLab | oklab(51.03% -0.0009 -0.0919) |
| OKLCH | oklch(51.03% 0.092 269.4) |
| XYZ | xyz(13.7697, 13.0388, 32.7952) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 2.39
Denim Blue
#3B5B92
ΔE00 4.72
French Blue
#436BAD
ΔE00 5.53
Denim (survey)
#3B638C
ΔE00 6.33
Dusk
#4E5481
ΔE00 6.72
Twilight
#4E518B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#51639B #9B8951
analogous
#51889B #51639B #64519B
triadic
#51639B #9B5163 #639B51
tetradic
#51639B #9B5188 #9B8951 #519B64
square
#51639B #9B5188 #9B8951 #519B64
split-complementary
#51639B #9B6451 #889B51
monochromatic
#27304B #3C4973 #51639B #7383B6 #9BA7CB
Accessibility & contrast
On white
5.82
#51639B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#51639B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #51639B
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##51639B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##51639B | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E699D
Deuteranopia (green-blind)
#47629A
Tritanopia (blue-blind)
#356F78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #51639b; /* rgb */ color: rgb(81, 99, 155); /* oklch */ color: oklch(51.0% 0.092 269.4);
Tailwind
colors: {
custom: {
50: '#868fb9',
500: '#51639b',
950: '#000000',
},
}SCSS
$custom: #51639b; $custom-light: #868fb9; $custom-dark: #000000;
JSON
{
"hex": "#51639b",
"rgb": {
"r": 81,
"g": 99,
"b": 155
},
"hsl": {
"h": 225.405,
"s": 31.356,
"l": 46.275
},
"oklch": {
"l": 0.51026,
"c": 0.09191,
"h": 269.4
},
"luminance": 0.1304
}Semantic roles & 50–950 ramp
primary
#51639B
secondary
#B8AE90
accent
#AE60C8
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C11
muted
#7C7D80