#2640AE#2640AE
#2640AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.178 H 267.6°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2640AE |
|---|---|
| RGB | rgb(38, 64, 174) |
| HSL | hsl(229, 64%, 42%) |
| HSV | hsv(229, 78%, 68%) |
| CMYK | cmyk(78.2%, 63.2%, 0%, 31.8%) |
| CIE-LAB | lab(32.11, 30.78, -61.33) |
| CIE-LCH | lch(32.11, 68.62, 296.65°) |
| OKLab | oklab(42.67% -0.0074 -0.1774) |
| OKLCH | oklch(42.67% 0.178 267.6) |
| XYZ | xyz(10.2700, 7.1337, 40.8719) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.37
Blue Blue
#2242C7
ΔE00 3.35
Cobalt
#0047AB
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 5.52
Blueberry
#464196
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2640AE #AE9426
analogous
#2684AE #2640AE #5026AE
triadic
#2640AE #AE2640 #40AE26
tetradic
#2640AE #AE2684 #AE9426 #26AE50
square
#2640AE #AE2684 #AE9426 #26AE50
split-complementary
#2640AE #AE5026 #84AE26
monochromatic
#101B4A #1B2E7C #2640AE #3D5AD5 #6F84E0
Accessibility & contrast
On white
8.65
#2640AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2640AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2640AE
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2640AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2640AE | 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)
#0052B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2640ae; /* rgb */ color: rgb(38, 64, 174); /* oklch */ color: oklch(42.7% 0.178 267.6);
Tailwind
colors: {
custom: {
50: '#7774c7',
500: '#2640ae',
950: '#000000',
},
}SCSS
$custom: #2640ae; $custom-light: #7774c7; $custom-dark: #000000;
JSON
{
"hex": "#2640ae",
"rgb": {
"r": 38,
"g": 64,
"b": 174
},
"hsl": {
"h": 228.529,
"s": 64.151,
"l": 41.569
},
"oklch": {
"l": 0.42665,
"c": 0.17753,
"h": 267.6
},
"luminance": 0.07135
}Semantic roles & 50–950 ramp
primary
#2640AE
secondary
#C6B46A
accent
#C741E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82