#2641AB#2641AB
#2641AB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.172 H 267.3°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2641AB |
|---|---|
| RGB | rgb(38, 65, 171) |
| HSL | hsl(228, 64%, 41%) |
| HSV | hsv(228, 78%, 67%) |
| CMYK | cmyk(77.8%, 62%, 0%, 32.9%) |
| CIE-LAB | lab(32.11, 28.99, -59.54) |
| CIE-LCH | lch(32.11, 66.22, 295.96°) |
| OKLab | oklab(42.58% -0.008 -0.1721) |
| OKLCH | oklch(42.58% 0.172 267.3) |
| XYZ | xyz(10.0377, 7.1318, 39.3677) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.72
Cobalt
#0047AB
ΔE00 3.64
Blue Blue
#2242C7
ΔE00 3.78
Blueberry
#464196
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2641AB #AB9026
analogous
#2683AB #2641AB #4E26AB
triadic
#2641AB #AB2641 #41AB26
tetradic
#2641AB #AB2683 #AB9026 #26AB4E
square
#2641AB #AB2683 #AB9026 #26AB4E
split-complementary
#2641AB #AB4E26 #83AB26
monochromatic
#101B47 #1B2E79 #2641AB #3B5AD3 #6D84DF
Accessibility & contrast
On white
8.65
#2641AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2641AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2641AB
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2641AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2641AB | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2641ab; /* rgb */ color: rgb(38, 65, 171); /* oklch */ color: oklch(42.6% 0.172 267.3);
Tailwind
colors: {
custom: {
50: '#7675c5',
500: '#2641ab',
950: '#000000',
},
}SCSS
$custom: #2641ab; $custom-light: #7675c5; $custom-dark: #000000;
JSON
{
"hex": "#2641ab",
"rgb": {
"r": 38,
"g": 65,
"b": 171
},
"hsl": {
"h": 227.82,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.42582,
"c": 0.17231,
"h": 267.3
},
"luminance": 0.07133
}Semantic roles & 50–950 ramp
primary
#2641AB
secondary
#C5B268
accent
#C541E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82