#2C46A6#2C46A6
#2C46A6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.158 H 267.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2C46A6 |
|---|---|
| RGB | rgb(44, 70, 166) |
| HSL | hsl(227, 58%, 41%) |
| HSV | hsv(227, 73%, 65%) |
| CMYK | cmyk(73.5%, 57.8%, 0%, 34.9%) |
| CIE-LAB | lab(33.28, 24.48, -54.62) |
| CIE-LCH | lch(33.28, 59.85, 294.14°) |
| OKLab | oklab(43.41% -0.0062 -0.1575) |
| OKLCH | oklch(43.41% 0.158 267.7) |
| XYZ | xyz(10.1094, 7.6679, 37.0163) |
| Luminance | 0.0767 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 4.74
Sapphire
#0F52BA
ΔE00 5.28
Blueberry
#464196
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C46A6 #A68C2C
analogous
#2C83A6 #2C46A6 #4F2CA6
triadic
#2C46A6 #A62C46 #46A62C
tetradic
#2C46A6 #A62C83 #A68C2C #2CA64F
square
#2C46A6 #A62C83 #A68C2C #2CA64F
split-complementary
#2C46A6 #A64F2C #83A62C
monochromatic
#121D45 #1F3276 #2C46A6 #4260CD #7389DA
Accessibility & contrast
On white
8.29
#2C46A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2C46A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C46A6
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C46A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C46A6 | 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)
#0054A9
Deuteranopia (green-blind)
#0049A4
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c46a6; /* rgb */ color: rgb(44, 70, 166); /* oklch */ color: oklch(43.4% 0.158 267.7);
Tailwind
colors: {
custom: {
50: '#7679c1',
500: '#2c46a6',
950: '#000000',
},
}SCSS
$custom: #2c46a6; $custom-light: #7679c1; $custom-dark: #000000;
JSON
{
"hex": "#2c46a6",
"rgb": {
"r": 44,
"g": 70,
"b": 166
},
"hsl": {
"h": 227.213,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.43405,
"c": 0.15762,
"h": 267.7
},
"luminance": 0.07669
}Semantic roles & 50–950 ramp
primary
#2C46A6
secondary
#C1AF6D
accent
#C046E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81