#2C4BB6#2C4BB6
#2C4BB6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.173 H 266.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BB6 |
|---|---|
| RGB | rgb(44, 75, 182) |
| HSL | hsl(227, 61%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(75.8%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(35.88, 27.20, -59.91) |
| CIE-LCH | lch(35.88, 65.79, 294.42°) |
| OKLab | oklab(45.74% -0.0094 -0.173) |
| OKLCH | oklch(45.74% 0.173 266.9) |
| XYZ | xyz(11.9953, 8.9437, 45.3410) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.46
Sapphire
#0F52BA
ΔE00 3.66
Blue Blue
#2242C7
ΔE00 3.66
Blue (survey)
#0343DF
ΔE00 5.57
Sapphire (survey)
#2138AB
ΔE00 5.81
Cobalt (survey)
#1E488F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BB6 #B6972C
analogous
#2C90B6 #2C4BB6 #522CB6
triadic
#2C4BB6 #B62C4B #4BB62C
tetradic
#2C4BB6 #B62C90 #B6972C #2CB652
square
#2C4BB6 #B62C90 #B6972C #2CB652
split-complementary
#2C4BB6 #B6522C #90B62C
monochromatic
#142253 #203785 #2C4BB6 #4C6AD4 #7D93E0
Accessibility & contrast
On white
7.53
#2C4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C4BB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BB6
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BB6 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4bb6; /* rgb */ color: rgb(44, 75, 182); /* oklch */ color: oklch(45.7% 0.173 266.9);
Tailwind
colors: {
custom: {
50: '#7a7ccd',
500: '#2c4bb6',
950: '#000000',
},
}SCSS
$custom: #2c4bb6; $custom-light: #7a7ccd; $custom-dark: #000000;
JSON
{
"hex": "#2c4bb6",
"rgb": {
"r": 44,
"g": 75,
"b": 182
},
"hsl": {
"h": 226.522,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.45743,
"c": 0.17323,
"h": 266.9
},
"luminance": 0.08945
}Semantic roles & 50–950 ramp
primary
#2C4BB6
secondary
#C8B676
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82