#2C4AAE#2C4AAE
#2C4AAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.164 H 266.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4AAE |
|---|---|
| RGB | rgb(44, 74, 174) |
| HSL | hsl(226, 60%, 43%) |
| HSV | hsv(226, 75%, 68%) |
| CMYK | cmyk(74.7%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(34.98, 24.84, -56.63) |
| CIE-LCH | lch(34.98, 61.84, 293.69°) |
| OKLab | oklab(44.87% -0.009 -0.1634) |
| OKLCH | oklch(44.87% 0.164 266.9) |
| XYZ | xyz(11.1248, 8.4878, 41.0882) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.86
Sapphire
#0F52BA
ΔE00 3.91
Blue Blue
#2242C7
ΔE00 4.33
Cobalt (survey)
#1E488F
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.50
Blueberry
#464196
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4AAE #AE902C
analogous
#2C8BAE #2C4AAE #4F2CAE
triadic
#2C4AAE #AE2C4A #4AAE2C
tetradic
#2C4AAE #AE2C8B #AE902C #2CAE4F
square
#2C4AAE #AE2C8B #AE902C #2CAE4F
split-complementary
#2C4AAE #AE4F2C #8BAE2C
monochromatic
#13204C #20357D #2C4AAE #4767D0 #788FDD
Accessibility & contrast
On white
7.78
#2C4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2C4AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4AAE
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4AAE | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c4aae; /* rgb */ color: rgb(44, 74, 174); /* oklch */ color: oklch(44.9% 0.164 266.9);
Tailwind
colors: {
custom: {
50: '#787cc7',
500: '#2c4aae',
950: '#000000',
},
}SCSS
$custom: #2c4aae; $custom-light: #787cc7; $custom-dark: #000000;
JSON
{
"hex": "#2c4aae",
"rgb": {
"r": 44,
"g": 74,
"b": 174
},
"hsl": {
"h": 226.154,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.44874,
"c": 0.16361,
"h": 266.9
},
"luminance": 0.08489
}Semantic roles & 50–950 ramp
primary
#2C4AAE
secondary
#C5B171
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82