#2A61B7#2A61B7
#2A61B7 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.148 H 259.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2A61B7 |
|---|---|
| RGB | rgb(42, 97, 183) |
| HSL | hsl(217, 63%, 44%) |
| HSV | hsv(217, 77%, 72%) |
| CMYK | cmyk(77%, 47%, 0%, 28.2%) |
| CIE-LAB | lab(41.94, 12.90, -50.69) |
| CIE-LCH | lch(41.94, 52.31, 284.28°) |
| OKLab | oklab(50.35% -0.0277 -0.1455) |
| OKLCH | oklch(50.35% 0.148 259.2) |
| XYZ | xyz(13.7737, 12.4589, 46.4695) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.28
Mid Blue
#276AB3
ΔE00 3.81
French Blue
#436BAD
ΔE00 3.87
Denim (survey)
#3B638C
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.02
Denim Blue
#3B5B92
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A61B7 #B7802A
analogous
#2AA8B7 #2A61B7 #3A2AB7
triadic
#2A61B7 #B72A61 #61B72A
tetradic
#2A61B7 #B72AA8 #B7802A #2AB73A
square
#2A61B7 #B72AA8 #B7802A #2AB73A
split-complementary
#2A61B7 #B73A2A #A8B72A
monochromatic
#132C53 #1F4785 #2A61B7 #4980D5 #7BA2E1
Accessibility & contrast
On white
6.01
#2A61B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2A61B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A61B7
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A61B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A61B7 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#0B5DB5
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a61b7; /* rgb */ color: rgb(42, 97, 183); /* oklch */ color: oklch(50.3% 0.148 259.2);
Tailwind
colors: {
custom: {
50: '#788dcd',
500: '#2a61b7',
950: '#000000',
},
}SCSS
$custom: #2a61b7; $custom-light: #788dcd; $custom-dark: #000000;
JSON
{
"hex": "#2a61b7",
"rgb": {
"r": 42,
"g": 97,
"b": 183
},
"hsl": {
"h": 216.596,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.50346,
"c": 0.14812,
"h": 259.2
},
"luminance": 0.12461
}Semantic roles & 50–950 ramp
primary
#2A61B7
secondary
#C9A874
accent
#A642E6
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82