#2A41AE#2A41AE
#2A41AE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.175 H 268.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2A41AE |
|---|---|
| RGB | rgb(42, 65, 174) |
| HSL | hsl(230, 61%, 42%) |
| HSV | hsv(230, 76%, 68%) |
| CMYK | cmyk(75.9%, 62.6%, 0%, 31.8%) |
| CIE-LAB | lab(32.54, 30.55, -60.61) |
| CIE-LCH | lch(32.54, 67.87, 296.75°) |
| OKLab | oklab(43.03% -0.0044 -0.1752) |
| OKLCH | oklch(43.03% 0.175 268.5) |
| XYZ | xyz(10.4825, 7.3277, 40.8981) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.64
Blue Blue
#2242C7
ΔE00 3.29
Cobalt
#0047AB
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 5.22
Blueberry
#464196
ΔE00 5.37
Blue (survey)
#0343DF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A41AE #AE972A
analogous
#2A83AE #2A41AE #552AAE
triadic
#2A41AE #AE2A41 #41AE2A
tetradic
#2A41AE #AE2A83 #AE972A #2AAE55
square
#2A41AE #AE2A83 #AE972A #2AAE55
split-complementary
#2A41AE #AE552A #83AE2A
monochromatic
#121C4B #1E2F7D #2A41AE #435CD2 #7587DE
Accessibility & contrast
On white
8.52
#2A41AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2A41AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A41AE
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A41AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A41AE | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a41ae; /* rgb */ color: rgb(42, 65, 174); /* oklch */ color: oklch(43.0% 0.175 268.5);
Tailwind
colors: {
custom: {
50: '#7875c7',
500: '#2a41ae',
950: '#000000',
},
}SCSS
$custom: #2a41ae; $custom-light: #7875c7; $custom-dark: #000000;
JSON
{
"hex": "#2a41ae",
"rgb": {
"r": 42,
"g": 65,
"b": 174
},
"hsl": {
"h": 229.545,
"s": 61.111,
"l": 42.353
},
"oklch": {
"l": 0.43034,
"c": 0.17525,
"h": 268.5
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#2A41AE
secondary
#C5B66F
accent
#C844E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82