#2A61BC#2A61BC
#2A61BC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.7% C 0.155 H 260.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A61BC |
|---|---|
| RGB | rgb(42, 97, 188) |
| HSL | hsl(217, 63%, 45%) |
| HSV | hsv(217, 78%, 74%) |
| CMYK | cmyk(77.7%, 48.4%, 0%, 26.3%) |
| CIE-LAB | lab(42.26, 14.82, -53.08) |
| CIE-LCH | lch(42.26, 55.11, 285.60°) |
| OKLab | oklab(50.7% -0.0269 -0.1525) |
| OKLCH | oklch(50.7% 0.155 260) |
| XYZ | xyz(14.3033, 12.6708, 49.2591) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.46
French Blue
#436BAD
ΔE00 3.96
Mid Blue
#276AB3
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.97
Medium Blue
#2C6FBB
ΔE00 5.31
Denim (survey)
#3B638C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A61BC #BC852A
analogous
#2AAABC #2A61BC #3C2ABC
triadic
#2A61BC #BC2A61 #61BC2A
tetradic
#2A61BC #BC2AAA #BC852A #2ABC3C
square
#2A61BC #BC2AAA #BC852A #2ABC3C
split-complementary
#2A61BC #BC3C2A #AABC2A
monochromatic
#142D58 #1F478A #2A61BC #4C80D7 #7EA4E2
Accessibility & contrast
On white
5.94
#2A61BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2A61BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A61BC
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A61BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A61BC | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2a61bc; /* rgb */ color: rgb(42, 97, 188); /* oklch */ color: oklch(50.7% 0.155 260.0);
Tailwind
colors: {
custom: {
50: '#798dd1',
500: '#2a61bc',
950: '#000000',
},
}SCSS
$custom: #2a61bc; $custom-light: #798dd1; $custom-dark: #000000;
JSON
{
"hex": "#2a61bc",
"rgb": {
"r": 42,
"g": 97,
"b": 188
},
"hsl": {
"h": 217.397,
"s": 63.478,
"l": 45.098
},
"oklch": {
"l": 0.50702,
"c": 0.15489,
"h": 260
},
"luminance": 0.12672
}Semantic roles & 50–950 ramp
primary
#2A61BC
secondary
#CBAB77
accent
#A841E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82