#2A64BA#2A64BA
#2A64BA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.149 H 258.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A64BA |
|---|---|
| RGB | rgb(42, 100, 186) |
| HSL | hsl(216, 63%, 45%) |
| HSV | hsv(216, 77%, 73%) |
| CMYK | cmyk(77.4%, 46.2%, 0%, 27.1%) |
| CIE-LAB | lab(42.99, 12.11, -50.75) |
| CIE-LCH | lch(42.99, 52.17, 283.43°) |
| OKLab | oklab(51.22% -0.0297 -0.1456) |
| OKLCH | oklch(51.22% 0.149 258.5) |
| XYZ | xyz(14.3717, 13.1501, 48.2256) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.59
Mid Blue
#276AB3
ΔE00 2.90
French Blue
#436BAD
ΔE00 3.25
Medium Blue
#2C6FBB
ΔE00 4.14
Denim (survey)
#3B638C
ΔE00 5.19
Flat Blue
#3C73A8
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A64BA #BA802A
analogous
#2AACBA #2A64BA #382ABA
triadic
#2A64BA #BA2A64 #64BA2A
tetradic
#2A64BA #BA2AAC #BA802A #2ABA38
square
#2A64BA #BA2AAC #BA802A #2ABA38
split-complementary
#2A64BA #BA382A #ACBA2A
monochromatic
#132E56 #1F4988 #2A64BA #4B83D6 #7DA5E2
Accessibility & contrast
On white
5.78
#2A64BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2A64BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A64BA
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A64BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A64BA | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366DBD
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2a64ba; /* rgb */ color: rgb(42, 100, 186); /* oklch */ color: oklch(51.2% 0.149 258.5);
Tailwind
colors: {
custom: {
50: '#798fcf',
500: '#2a64ba',
950: '#000000',
},
}SCSS
$custom: #2a64ba; $custom-light: #798fcf; $custom-dark: #000000;
JSON
{
"hex": "#2a64ba",
"rgb": {
"r": 42,
"g": 100,
"b": 186
},
"hsl": {
"h": 215.833,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.51218,
"c": 0.14861,
"h": 258.5
},
"luminance": 0.13152
}Semantic roles & 50–950 ramp
primary
#2A64BA
secondary
#CAA876
accent
#A442E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82