#2C46BA#2C46BA
#2C46BA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.185 H 268.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2C46BA |
|---|---|
| RGB | rgb(44, 70, 186) |
| HSL | hsl(229, 62%, 45%) |
| HSV | hsv(229, 76%, 73%) |
| CMYK | cmyk(76.3%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(34.92, 31.96, -63.82) |
| CIE-LCH | lch(34.92, 71.38, 296.60°) |
| OKLab | oklab(45.14% -0.0061 -0.1845) |
| OKLCH | oklch(45.14% 0.185 268.1) |
| XYZ | xyz(12.0887, 8.4596, 47.4406) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.06
Cobalt
#0047AB
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 5.06
Sapphire
#0F52BA
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C46BA #BAA02C
analogous
#2C8DBA #2C46BA #592CBA
triadic
#2C46BA #BA2C46 #46BA2C
tetradic
#2C46BA #BA2C8D #BAA02C #2CBA59
square
#2C46BA #BA2C8D #BAA02C #2CBA59
split-complementary
#2C46BA #BA592C #8DBA2C
monochromatic
#152157 #203389 #2C46BA #4E67D5 #8091E1
Accessibility & contrast
On white
7.80
#2C46BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2C46BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C46BA
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C46BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C46BA | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c46ba; /* rgb */ color: rgb(44, 70, 186); /* oklch */ color: oklch(45.1% 0.185 268.1);
Tailwind
colors: {
custom: {
50: '#7b79d0',
500: '#2c46ba',
950: '#000000',
},
}SCSS
$custom: #2c46ba; $custom-light: #7b79d0; $custom-dark: #000000;
JSON
{
"hex": "#2c46ba",
"rgb": {
"r": 44,
"g": 70,
"b": 186
},
"hsl": {
"h": 229.014,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.45137,
"c": 0.18462,
"h": 268.1
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#2C46BA
secondary
#CABB78
accent
#C743E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82