#2A61B8#2A61B8
#2A61B8 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.4% C 0.149 H 259.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A61B8 |
|---|---|
| RGB | rgb(42, 97, 184) |
| HSL | hsl(217, 63%, 44%) |
| HSV | hsv(217, 77%, 72%) |
| CMYK | cmyk(77.2%, 47.3%, 0%, 27.8%) |
| CIE-LAB | lab(42.00, 13.29, -51.17) |
| CIE-LCH | lch(42.00, 52.87, 284.55°) |
| OKLab | oklab(50.42% -0.0276 -0.1469) |
| OKLCH | oklch(50.42% 0.149 259.4) |
| XYZ | xyz(13.8781, 12.5007, 47.0196) |
| Luminance | 0.1250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.29
Mid Blue
#276AB3
ΔE00 3.86
French Blue
#436BAD
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 5.01
Denim (survey)
#3B638C
ΔE00 5.06
Denim Blue
#3B5B92
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A61B8 #B8812A
analogous
#2AA8B8 #2A61B8 #3A2AB8
triadic
#2A61B8 #B82A61 #61B82A
tetradic
#2A61B8 #B82AA8 #B8812A #2AB83A
square
#2A61B8 #B82AA8 #B8812A #2AB83A
split-complementary
#2A61B8 #B83A2A #A8B82A
monochromatic
#132C54 #1F4786 #2A61B8 #4A80D6 #7BA3E1
Accessibility & contrast
On white
6.00
#2A61B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2A61B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A61B8
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A61B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A61B8 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316ABB
Deuteranopia (green-blind)
#075DB6
Tritanopia (blue-blind)
#007683
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a61b8; /* rgb */ color: rgb(42, 97, 184); /* oklch */ color: oklch(50.4% 0.149 259.4);
Tailwind
colors: {
custom: {
50: '#788dce',
500: '#2a61b8',
950: '#000000',
},
}SCSS
$custom: #2a61b8; $custom-light: #788dce; $custom-dark: #000000;
JSON
{
"hex": "#2a61b8",
"rgb": {
"r": 42,
"g": 97,
"b": 184
},
"hsl": {
"h": 216.761,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.50417,
"c": 0.14947,
"h": 259.4
},
"luminance": 0.12502
}Semantic roles & 50–950 ramp
primary
#2A61B8
secondary
#C9A875
accent
#A642E6
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82