#2A41B1#2A41B1
#2A41B1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.179 H 268.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41B1 |
|---|---|
| RGB | rgb(42, 65, 177) |
| HSL | hsl(230, 62%, 43%) |
| HSV | hsv(230, 76%, 69%) |
| CMYK | cmyk(76.3%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(32.80, 31.66, -61.97) |
| CIE-LCH | lch(32.80, 69.59, 297.06°) |
| OKLab | oklab(43.31% -0.0045 -0.1792) |
| OKLCH | oklch(43.31% 0.179 268.6) |
| XYZ | xyz(10.7782, 7.4460, 42.4556) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.69
Blue Blue
#2242C7
ΔE00 2.87
Cobalt
#0047AB
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 5.03
Blueberry
#464196
ΔE00 5.59
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41B1 #B19A2A
analogous
#2A84B1 #2A41B1 #572AB1
triadic
#2A41B1 #B12A41 #41B12A
tetradic
#2A41B1 #B12A84 #B19A2A #2AB157
square
#2A41B1 #B12A84 #B19A2A #2AB157
split-complementary
#2A41B1 #B1572A #84B12A
monochromatic
#131D4E #1E2F80 #2A41B1 #455DD3 #7788DF
Accessibility & contrast
On white
8.44
#2A41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2A41B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41B1
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41B1 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a41b1; /* rgb */ color: rgb(42, 65, 177); /* oklch */ color: oklch(43.3% 0.179 268.6);
Tailwind
colors: {
custom: {
50: '#7975c9',
500: '#2a41b1',
950: '#000000',
},
}SCSS
$custom: #2a41b1; $custom-light: #7975c9; $custom-dark: #000000;
JSON
{
"hex": "#2a41b1",
"rgb": {
"r": 42,
"g": 65,
"b": 177
},
"hsl": {
"h": 229.778,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.43306,
"c": 0.17924,
"h": 268.6
},
"luminance": 0.07447
}Semantic roles & 50–950 ramp
primary
#2A41B1
secondary
#C6B870
accent
#C943E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82