#2A43B7#2A43B7
#2A43B7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.185 H 268.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A43B7 |
|---|---|
| RGB | rgb(42, 67, 183) |
| HSL | hsl(229, 63%, 44%) |
| HSV | hsv(229, 77%, 72%) |
| CMYK | cmyk(77%, 63.4%, 0%, 28.2%) |
| CIE-LAB | lab(33.82, 32.58, -63.85) |
| CIE-LCH | lch(33.82, 71.69, 297.03°) |
| OKLab | oklab(44.22% -0.0059 -0.1847) |
| OKLCH | oklch(44.22% 0.185 268.2) |
| XYZ | xyz(11.5063, 7.9242, 45.7137) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.09
Sapphire (survey)
#2138AB
ΔE00 3.50
Cobalt
#0047AB
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 4.88
Ocean Blue
#4F42B5
ΔE00 4.94
Sapphire
#0F52BA
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A43B7 #B79E2A
analogous
#2A8AB7 #2A43B7 #582AB7
triadic
#2A43B7 #B72A43 #43B72A
tetradic
#2A43B7 #B72A8A #B79E2A #2AB758
square
#2A43B7 #B72A8A #B79E2A #2AB758
split-complementary
#2A43B7 #B7582A #8AB72A
monochromatic
#131F53 #1F3185 #2A43B7 #4962D5 #7B8DE1
Accessibility & contrast
On white
8.12
#2A43B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2A43B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A43B7
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A43B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A43B7 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0049B5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2a43b7; /* rgb */ color: rgb(42, 67, 183); /* oklch */ color: oklch(44.2% 0.185 268.2);
Tailwind
colors: {
custom: {
50: '#7a77ce',
500: '#2a43b7',
950: '#000000',
},
}SCSS
$custom: #2a43b7; $custom-light: #7a77ce; $custom-dark: #000000;
JSON
{
"hex": "#2a43b7",
"rgb": {
"r": 42,
"g": 67,
"b": 183
},
"hsl": {
"h": 229.362,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.44222,
"c": 0.18477,
"h": 268.2
},
"luminance": 0.07925
}Semantic roles & 50–950 ramp
primary
#2A43B7
secondary
#C9BA74
accent
#C942E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82