#2A46A7#2A46A7
#2A46A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.160 H 267.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A46A7 |
|---|---|
| RGB | rgb(42, 70, 167) |
| HSL | hsl(227, 60%, 41%) |
| HSV | hsv(227, 75%, 65%) |
| CMYK | cmyk(74.9%, 58.1%, 0%, 34.5%) |
| CIE-LAB | lab(33.27, 24.60, -55.24) |
| CIE-LCH | lch(33.27, 60.47, 294.01°) |
| OKLab | oklab(43.39% -0.008 -0.1594) |
| OKLCH | oklch(43.39% 0.16 267.1) |
| XYZ | xyz(10.1176, 7.6615, 37.4973) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.76
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 5.11
Blueberry
#464196
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A46A7 #A78B2A
analogous
#2A84A7 #2A46A7 #4C2AA7
triadic
#2A46A7 #A72A46 #46A72A
tetradic
#2A46A7 #A72A84 #A78B2A #2AA74C
square
#2A46A7 #A72A84 #A78B2A #2AA74C
split-complementary
#2A46A7 #A74C2A #84A72A
monochromatic
#111D45 #1E3276 #2A46A7 #3F60CF #7088DB
Accessibility & contrast
On white
8.29
#2A46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2A46A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A46A7
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A46A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A46A7 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a46a7; /* rgb */ color: rgb(42, 70, 167); /* oklch */ color: oklch(43.4% 0.160 267.1);
Tailwind
colors: {
custom: {
50: '#7679c2',
500: '#2a46a7',
950: '#000000',
},
}SCSS
$custom: #2a46a7; $custom-light: #7679c2; $custom-dark: #000000;
JSON
{
"hex": "#2a46a7",
"rgb": {
"r": 42,
"g": 70,
"b": 167
},
"hsl": {
"h": 226.56,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.43394,
"c": 0.15957,
"h": 267.1
},
"luminance": 0.07663
}Semantic roles & 50–950 ramp
primary
#2A46A7
secondary
#C2AF6B
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81