#2C46AB#2C46AB
#2C46AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.164 H 267.9°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C46AB |
|---|---|
| RGB | rgb(44, 70, 171) |
| HSL | hsl(228, 59%, 42%) |
| HSV | hsv(228, 74%, 67%) |
| CMYK | cmyk(74.3%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.68, 26.36, -56.96) |
| CIE-LCH | lch(33.68, 62.77, 294.84°) |
| OKLab | oklab(43.83% -0.0061 -0.1644) |
| OKLCH | oklch(43.83% 0.164 267.9) |
| XYZ | xyz(10.5770, 7.8549, 39.4789) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.12
Blue Blue
#2242C7
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 5.14
Cobalt (survey)
#1E488F
ΔE00 5.23
Blueberry
#464196
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C46AB #AB912C
analogous
#2C85AB #2C46AB #522CAB
triadic
#2C46AB #AB2C46 #46AB2C
tetradic
#2C46AB #AB2C85 #AB912C #2CAB52
square
#2C46AB #AB2C85 #AB912C #2CAB52
split-complementary
#2C46AB #AB522C #85AB2C
monochromatic
#131E4A #1F327A #2C46AB #4561CF #768BDC
Accessibility & contrast
On white
8.17
#2C46AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2C46AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C46AB
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C46AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C46AB | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c46ab; /* rgb */ color: rgb(44, 70, 171); /* oklch */ color: oklch(43.8% 0.164 267.9);
Tailwind
colors: {
custom: {
50: '#7879c5',
500: '#2c46ab',
950: '#000000',
},
}SCSS
$custom: #2c46ab; $custom-light: #7879c5; $custom-dark: #000000;
JSON
{
"hex": "#2c46ab",
"rgb": {
"r": 44,
"g": 70,
"b": 171
},
"hsl": {
"h": 227.717,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.43827,
"c": 0.16449,
"h": 267.9
},
"luminance": 0.07856
}Semantic roles & 50–950 ramp
primary
#2C46AB
secondary
#C3B26F
accent
#C246E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82