#2640B0#2640B0
#2640B0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.180 H 267.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2640B0 |
|---|---|
| RGB | rgb(38, 64, 176) |
| HSL | hsl(229, 64%, 42%) |
| HSV | hsv(229, 78%, 69%) |
| CMYK | cmyk(78.4%, 63.6%, 0%, 31%) |
| CIE-LAB | lab(32.29, 31.53, -62.23) |
| CIE-LCH | lch(32.29, 69.76, 296.87°) |
| OKLab | oklab(42.85% -0.0074 -0.18) |
| OKLCH | oklch(42.85% 0.18 267.6) |
| XYZ | xyz(10.4665, 7.2123, 41.9064) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.39
Blue Blue
#2242C7
ΔE00 3.08
Cobalt
#0047AB
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 5.39
Blueberry
#464196
ΔE00 5.74
Blue (survey)
#0343DF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2640B0 #B09626
analogous
#2685B0 #2640B0 #5126B0
triadic
#2640B0 #B02640 #40B026
tetradic
#2640B0 #B02685 #B09626 #26B051
square
#2640B0 #B02685 #B09626 #26B051
split-complementary
#2640B0 #B05126 #85B026
monochromatic
#101B4B #1B2E7E #2640B0 #3E5AD5 #7085E0
Accessibility & contrast
On white
8.60
#2640B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2640B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2640B0
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2640B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2640B0 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2640b0; /* rgb */ color: rgb(38, 64, 176); /* oklch */ color: oklch(42.8% 0.180 267.6);
Tailwind
colors: {
custom: {
50: '#7774c9',
500: '#2640b0',
950: '#000000',
},
}SCSS
$custom: #2640b0; $custom-light: #7774c9; $custom-dark: #000000;
JSON
{
"hex": "#2640b0",
"rgb": {
"r": 38,
"g": 64,
"b": 176
},
"hsl": {
"h": 228.696,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.42849,
"c": 0.18017,
"h": 267.6
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#2640B0
secondary
#C7B66B
accent
#C840E7
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82