#2A66BA#2A66BA
#2A66BA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.7% C 0.146 H 257.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A66BA |
|---|---|
| RGB | rgb(42, 102, 186) |
| HSL | hsl(215, 63%, 45%) |
| HSV | hsv(215, 77%, 73%) |
| CMYK | cmyk(77.4%, 45.2%, 0%, 27.1%) |
| CIE-LAB | lab(43.56, 10.83, -49.83) |
| CIE-LCH | lch(43.56, 50.99, 282.26°) |
| OKLab | oklab(51.66% -0.0314 -0.1429) |
| OKLCH | oklch(51.66% 0.146 257.6) |
| XYZ | xyz(14.5659, 13.5385, 48.2904) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.11
Mid Blue
#276AB3
ΔE00 2.22
French Blue
#436BAD
ΔE00 2.96
Medium Blue
#2C6FBB
ΔE00 3.39
Flat Blue
#3C73A8
ΔE00 5.17
Denim (survey)
#3B638C
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A66BA #BA7E2A
analogous
#2AAEBA #2A66BA #362ABA
triadic
#2A66BA #BA2A66 #66BA2A
tetradic
#2A66BA #BA2AAE #BA7E2A #2ABA36
square
#2A66BA #BA2AAE #BA7E2A #2ABA36
split-complementary
#2A66BA #BA362A #AEBA2A
monochromatic
#132F56 #1F4B88 #2A66BA #4B85D6 #7DA7E2
Accessibility & contrast
On white
5.66
#2A66BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#2A66BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A66BA
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A66BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A66BA | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2a66ba; /* rgb */ color: rgb(42, 102, 186); /* oklch */ color: oklch(51.7% 0.146 257.6);
Tailwind
colors: {
custom: {
50: '#7991cf',
500: '#2a66ba',
950: '#000000',
},
}SCSS
$custom: #2a66ba; $custom-light: #7991cf; $custom-dark: #000000;
JSON
{
"hex": "#2a66ba",
"rgb": {
"r": 42,
"g": 102,
"b": 186
},
"hsl": {
"h": 215,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.51662,
"c": 0.14626,
"h": 257.6
},
"luminance": 0.1354
}Semantic roles & 50–950 ramp
primary
#2A66BA
secondary
#CAA776
accent
#A242E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82