#2651AB#2651AB
#2651AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.152 H 262.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2651AB |
|---|---|
| RGB | rgb(38, 81, 171) |
| HSL | hsl(221, 64%, 41%) |
| HSV | hsv(221, 78%, 67%) |
| CMYK | cmyk(77.8%, 52.6%, 0%, 32.9%) |
| CIE-LAB | lab(36.43, 18.31, -52.50) |
| CIE-LCH | lch(36.43, 55.60, 289.23°) |
| OKLab | oklab(45.84% -0.0193 -0.1512) |
| OKLCH | oklch(45.84% 0.152 262.7) |
| XYZ | xyz(11.0898, 9.2359, 39.7184) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.04
Cobalt
#0047AB
ΔE00 3.31
Dusk Blue
#26538D
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 4.53
Denim Blue
#3B5B92
ΔE00 4.81
Light Navy Blue
#2E5A88
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2651AB #AB8026
analogous
#2693AB #2651AB #3E26AB
triadic
#2651AB #AB2651 #51AB26
tetradic
#2651AB #AB2693 #AB8026 #26AB3E
square
#2651AB #AB2693 #AB8026 #26AB3E
split-complementary
#2651AB #AB3E26 #93AB26
monochromatic
#102247 #1B3979 #2651AB #3B6CD3 #6D92DF
Accessibility & contrast
On white
7.38
#2651AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2651AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2651AB
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2651AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2651AB | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2651ab; /* rgb */ color: rgb(38, 81, 171); /* oklch */ color: oklch(45.8% 0.152 262.7);
Tailwind
colors: {
custom: {
50: '#7581c5',
500: '#2651ab',
950: '#000000',
},
}SCSS
$custom: #2651ab; $custom-light: #7581c5; $custom-dark: #000000;
JSON
{
"hex": "#2651ab",
"rgb": {
"r": 38,
"g": 81,
"b": 171
},
"hsl": {
"h": 220.602,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.45835,
"c": 0.15242,
"h": 262.7
},
"luminance": 0.09237
}Semantic roles & 50–950 ramp
primary
#2651AB
secondary
#C5A768
accent
#B141E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82