#2C46A2#2C46A2
#2C46A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.152 H 267.6°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C46A2 |
|---|---|
| RGB | rgb(44, 70, 162) |
| HSL | hsl(227, 57%, 40%) |
| HSV | hsv(227, 73%, 64%) |
| CMYK | cmyk(72.8%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(32.97, 22.97, -52.72) |
| CIE-LCH | lch(32.97, 57.51, 293.54°) |
| OKLab | oklab(43.07% -0.0064 -0.1519) |
| OKLCH | oklch(43.07% 0.152 267.6) |
| XYZ | xyz(9.7482, 7.5234, 35.1138) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.99
Cobalt (survey)
#1E488F
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 4.69
Blueberry
#464196
ΔE00 5.30
Blue Blue
#2242C7
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C46A2 #A2882C
analogous
#2C81A2 #2C46A2 #4D2CA2
triadic
#2C46A2 #A22C46 #46A22C
tetradic
#2C46A2 #A22C81 #A2882C #2CA24D
square
#2C46A2 #A22C81 #A2882C #2CA24D
split-complementary
#2C46A2 #A24D2C #81A22C
monochromatic
#121C42 #1F3172 #2C46A2 #405FCB #7087D8
Accessibility & contrast
On white
8.38
#2C46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2C46A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C46A2
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C46A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C46A2 | 1.00 | 8.38 | 2.50 | 8.38 |
| #FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2c46a2; /* rgb */ color: rgb(44, 70, 162); /* oklch */ color: oklch(43.1% 0.152 267.6);
Tailwind
colors: {
custom: {
50: '#7579be',
500: '#2c46a2',
950: '#000000',
},
}SCSS
$custom: #2c46a2; $custom-light: #7579be; $custom-dark: #000000;
JSON
{
"hex": "#2c46a2",
"rgb": {
"r": 44,
"g": 70,
"b": 162
},
"hsl": {
"h": 226.78,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.43073,
"c": 0.15206,
"h": 267.6
},
"luminance": 0.07524
}Semantic roles & 50–950 ramp
primary
#2C46A2
secondary
#BFAD6A
accent
#BF47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81