#2A64B9#2A64B9
#2A64B9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.1% C 0.147 H 258.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2A64B9 |
|---|---|
| RGB | rgb(42, 100, 185) |
| HSL | hsl(216, 63%, 45%) |
| HSV | hsv(216, 77%, 73%) |
| CMYK | cmyk(77.3%, 45.9%, 0%, 27.5%) |
| CIE-LAB | lab(42.93, 11.73, -50.27) |
| CIE-LCH | lch(42.93, 51.62, 283.14°) |
| OKLab | oklab(51.15% -0.0299 -0.1442) |
| OKLCH | oklch(51.15% 0.147 258.3) |
| XYZ | xyz(14.2658, 13.1077, 47.6677) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.58
Mid Blue
#276AB3
ΔE00 2.83
French Blue
#436BAD
ΔE00 3.24
Medium Blue
#2C6FBB
ΔE00 4.13
Denim (survey)
#3B638C
ΔE00 5.10
Flat Blue
#3C73A8
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A64B9 #B97F2A
analogous
#2AACB9 #2A64B9 #372AB9
triadic
#2A64B9 #B92A64 #64B92A
tetradic
#2A64B9 #B92AAC #B97F2A #2AB937
square
#2A64B9 #B92AAC #B97F2A #2AB937
split-complementary
#2A64B9 #B9372A #ACB92A
monochromatic
#132E55 #1F4987 #2A64B9 #4A83D6 #7CA5E1
Accessibility & contrast
On white
5.80
#2A64B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#2A64B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A64B9
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A64B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A64B9 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376CBC
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#007885
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2a64b9; /* rgb */ color: rgb(42, 100, 185); /* oklch */ color: oklch(51.1% 0.147 258.3);
Tailwind
colors: {
custom: {
50: '#788fce',
500: '#2a64b9',
950: '#000000',
},
}SCSS
$custom: #2a64b9; $custom-light: #788fce; $custom-dark: #000000;
JSON
{
"hex": "#2a64b9",
"rgb": {
"r": 42,
"g": 100,
"b": 185
},
"hsl": {
"h": 215.664,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.51149,
"c": 0.14726,
"h": 258.3
},
"luminance": 0.13109
}Semantic roles & 50–950 ramp
primary
#2A64B9
secondary
#CAA775
accent
#A342E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82