#2A41B3#2A41B3
#2A41B3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.182 H 268.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41B3 |
|---|---|
| RGB | rgb(42, 65, 179) |
| HSL | hsl(230, 62%, 43%) |
| HSV | hsv(230, 77%, 70%) |
| CMYK | cmyk(76.5%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(32.98, 32.40, -62.87) |
| CIE-LCH | lch(32.98, 70.73, 297.26°) |
| OKLab | oklab(43.49% -0.0046 -0.1818) |
| OKLCH | oklch(43.49% 0.182 268.6) |
| XYZ | xyz(10.9790, 7.5263, 43.5132) |
| Luminance | 0.0753 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.60
Sapphire (survey)
#2138AB
ΔE00 2.77
Cobalt
#0047AB
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.45
Blueberry
#464196
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41B3 #B39C2A
analogous
#2A85B3 #2A41B3 #572AB3
triadic
#2A41B3 #B32A41 #41B32A
tetradic
#2A41B3 #B32A85 #B39C2A #2AB357
square
#2A41B3 #B32A85 #B39C2A #2AB357
split-complementary
#2A41B3 #B3572A #85B32A
monochromatic
#131D50 #1E2F81 #2A41B3 #465ED4 #7889DF
Accessibility & contrast
On white
8.38
#2A41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2A41B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41B3
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41B3 | 1.00 | 8.38 | 2.51 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a41b3; /* rgb */ color: rgb(42, 65, 179); /* oklch */ color: oklch(43.5% 0.182 268.6);
Tailwind
colors: {
custom: {
50: '#7975cb',
500: '#2a41b3',
950: '#000000',
},
}SCSS
$custom: #2a41b3; $custom-light: #7975cb; $custom-dark: #000000;
JSON
{
"hex": "#2a41b3",
"rgb": {
"r": 42,
"g": 65,
"b": 179
},
"hsl": {
"h": 229.927,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.43489,
"c": 0.18188,
"h": 268.6
},
"luminance": 0.07528
}Semantic roles & 50–950 ramp
primary
#2A41B3
secondary
#C7B972
accent
#CA43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82