#2A61B5#2A61B5
#2A61B5 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.2% C 0.145 H 258.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2A61B5 |
|---|---|
| RGB | rgb(42, 97, 181) |
| HSL | hsl(216, 62%, 44%) |
| HSV | hsv(216, 77%, 71%) |
| CMYK | cmyk(76.8%, 46.4%, 0%, 29%) |
| CIE-LAB | lab(41.81, 12.13, -49.73) |
| CIE-LCH | lch(41.81, 51.18, 283.71°) |
| OKLab | oklab(50.21% -0.0281 -0.1427) |
| OKLCH | oklch(50.21% 0.145 258.9) |
| XYZ | xyz(13.5670, 12.3763, 45.3809) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.29
Mid Blue
#276AB3
ΔE00 3.71
French Blue
#436BAD
ΔE00 3.86
Denim (survey)
#3B638C
ΔE00 4.79
Denim Blue
#3B5B92
ΔE00 4.97
Sapphire
#0F52BA
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A61B5 #B57E2A
analogous
#2AA6B5 #2A61B5 #382AB5
triadic
#2A61B5 #B52A61 #61B52A
tetradic
#2A61B5 #B52AA6 #B57E2A #2AB538
square
#2A61B5 #B52AA6 #B57E2A #2AB538
split-complementary
#2A61B5 #B5382A #A6B52A
monochromatic
#132C52 #1E4683 #2A61B5 #487FD4 #79A2E0
Accessibility & contrast
On white
6.04
#2A61B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2A61B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A61B5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A61B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A61B5 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3469B8
Deuteranopia (green-blind)
#125DB3
Tritanopia (blue-blind)
#007582
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2a61b5; /* rgb */ color: rgb(42, 97, 181); /* oklch */ color: oklch(50.2% 0.145 258.9);
Tailwind
colors: {
custom: {
50: '#788dcc',
500: '#2a61b5',
950: '#000000',
},
}SCSS
$custom: #2a61b5; $custom-light: #788dcc; $custom-dark: #000000;
JSON
{
"hex": "#2a61b5",
"rgb": {
"r": 42,
"g": 97,
"b": 181
},
"hsl": {
"h": 216.259,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.50206,
"c": 0.1454,
"h": 258.9
},
"luminance": 0.12378
}Semantic roles & 50–950 ramp
primary
#2A61B5
secondary
#C8A673
accent
#A542E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82