#2A41B7#2A41B7
#2A41B7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.187 H 268.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41B7 |
|---|---|
| RGB | rgb(42, 65, 183) |
| HSL | hsl(230, 63%, 44%) |
| HSV | hsv(230, 77%, 72%) |
| CMYK | cmyk(77%, 64.5%, 0%, 28.2%) |
| CIE-LAB | lab(33.33, 33.88, -64.66) |
| CIE-LCH | lch(33.33, 73.00, 297.65°) |
| OKLab | oklab(43.86% -0.0047 -0.1871) |
| OKLCH | oklch(43.86% 0.187 268.6) |
| XYZ | xyz(11.3894, 7.6905, 45.6747) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.07
Sapphire (survey)
#2138AB
ΔE00 3.00
Cobalt
#0047AB
ΔE00 4.74
Ocean Blue
#4F42B5
ΔE00 4.75
Blue (survey)
#0343DF
ΔE00 4.92
Blueberry
#464196
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41B7 #B7A02A
analogous
#2A88B7 #2A41B7 #5A2AB7
triadic
#2A41B7 #B72A41 #41B72A
tetradic
#2A41B7 #B72A88 #B7A02A #2AB75A
square
#2A41B7 #B72A88 #B7A02A #2AB75A
split-complementary
#2A41B7 #B75A2A #88B72A
monochromatic
#131E53 #1F2F85 #2A41B7 #4960D5 #7B8BE1
Accessibility & contrast
On white
8.27
#2A41B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2A41B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41B7
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41B7 | 1.00 | 8.27 | 2.54 | 8.27 |
| #FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a41b7; /* rgb */ color: rgb(42, 65, 183); /* oklch */ color: oklch(43.9% 0.187 268.6);
Tailwind
colors: {
custom: {
50: '#7a75ce',
500: '#2a41b7',
950: '#000000',
},
}SCSS
$custom: #2a41b7; $custom-light: #7a75ce; $custom-dark: #000000;
JSON
{
"hex": "#2a41b7",
"rgb": {
"r": 42,
"g": 65,
"b": 183
},
"hsl": {
"h": 230.213,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.43857,
"c": 0.18713,
"h": 268.6
},
"luminance": 0.07692
}Semantic roles & 50–950 ramp
primary
#2A41B7
secondary
#C9BB74
accent
#CB42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82