#2A64B7#2A64B7
#2A64B7 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.0% C 0.145 H 257.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A64B7 |
|---|---|
| RGB | rgb(42, 100, 183) |
| HSL | hsl(215, 63%, 44%) |
| HSV | hsv(215, 77%, 72%) |
| CMYK | cmyk(77%, 45.4%, 0%, 28.2%) |
| CIE-LAB | lab(42.80, 10.97, -49.30) |
| CIE-LCH | lch(42.80, 50.51, 282.54°) |
| OKLab | oklab(51.01% -0.0302 -0.1414) |
| OKLCH | oklch(51.01% 0.145 257.9) |
| XYZ | xyz(14.0561, 13.0239, 46.5636) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.59
Mid Blue
#276AB3
ΔE00 2.70
French Blue
#436BAD
ΔE00 3.23
Medium Blue
#2C6FBB
ΔE00 4.10
Denim (survey)
#3B638C
ΔE00 4.92
Denim Blue
#3B5B92
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A64B7 #B77D2A
analogous
#2AABB7 #2A64B7 #362AB7
triadic
#2A64B7 #B72A64 #64B72A
tetradic
#2A64B7 #B72AAB #B77D2A #2AB736
square
#2A64B7 #B72AAB #B77D2A #2AB736
split-complementary
#2A64B7 #B7362A #ABB72A
monochromatic
#132E53 #1F4985 #2A64B7 #4983D5 #7BA5E1
Accessibility & contrast
On white
5.83
#2A64B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#2A64B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A64B7
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A64B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A64B7 | 1.00 | 5.83 | 3.61 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#1A5FB5
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a64b7; /* rgb */ color: rgb(42, 100, 183); /* oklch */ color: oklch(51.0% 0.145 257.9);
Tailwind
colors: {
custom: {
50: '#788fcd',
500: '#2a64b7',
950: '#000000',
},
}SCSS
$custom: #2a64b7; $custom-light: #788fcd; $custom-dark: #000000;
JSON
{
"hex": "#2a64b7",
"rgb": {
"r": 42,
"g": 100,
"b": 183
},
"hsl": {
"h": 215.319,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.51011,
"c": 0.14456,
"h": 257.9
},
"luminance": 0.13025
}Semantic roles & 50–950 ramp
primary
#2A64B7
secondary
#C9A674
accent
#A242E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82