#2A41B0#2A41B0
#2A41B0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.178 H 268.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41B0 |
|---|---|
| RGB | rgb(42, 65, 176) |
| HSL | hsl(230, 61%, 43%) |
| HSV | hsv(230, 76%, 69%) |
| CMYK | cmyk(76.1%, 63.1%, 0%, 31%) |
| CIE-LAB | lab(32.71, 31.29, -61.52) |
| CIE-LCH | lch(32.71, 69.02, 296.96°) |
| OKLab | oklab(43.22% -0.0045 -0.1779) |
| OKLCH | oklch(43.22% 0.178 268.6) |
| XYZ | xyz(10.6789, 7.4063, 41.9326) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.67
Blue Blue
#2242C7
ΔE00 3.01
Cobalt
#0047AB
ΔE00 4.25
Ocean Blue
#4F42B5
ΔE00 5.09
Blueberry
#464196
ΔE00 5.52
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41B0 #B0992A
analogous
#2A84B0 #2A41B0 #562AB0
triadic
#2A41B0 #B02A41 #41B02A
tetradic
#2A41B0 #B02A84 #B0992A #2AB056
square
#2A41B0 #B02A84 #B0992A #2AB056
split-complementary
#2A41B0 #B0562A #84B02A
monochromatic
#121D4D #1E2F7F #2A41B0 #455DD3 #7688DE
Accessibility & contrast
On white
8.46
#2A41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2A41B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41B0
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41B0 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a41b0; /* rgb */ color: rgb(42, 65, 176); /* oklch */ color: oklch(43.2% 0.178 268.6);
Tailwind
colors: {
custom: {
50: '#7875c9',
500: '#2a41b0',
950: '#000000',
},
}SCSS
$custom: #2a41b0; $custom-light: #7875c9; $custom-dark: #000000;
JSON
{
"hex": "#2a41b0",
"rgb": {
"r": 42,
"g": 65,
"b": 176
},
"hsl": {
"h": 229.701,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.43215,
"c": 0.17792,
"h": 268.6
},
"luminance": 0.07407
}Semantic roles & 50–950 ramp
primary
#2A41B0
secondary
#C6B770
accent
#C943E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82