#2C4DC2#2C4DC2
#2C4DC2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.2% C 0.187 H 266.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DC2 |
|---|---|
| RGB | rgb(44, 77, 194) |
| HSL | hsl(227, 63%, 47%) |
| HSV | hsv(227, 77%, 76%) |
| CMYK | cmyk(77.3%, 60.3%, 0%, 23.9%) |
| CIE-LAB | lab(37.37, 30.38, -64.52) |
| CIE-LCH | lch(37.37, 71.32, 295.21°) |
| OKLab | oklab(47.16% -0.0105 -0.1865) |
| OKLCH | oklch(47.16% 0.187 266.8) |
| XYZ | xyz(13.4268, 9.7367, 52.2002) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.39
Sapphire
#0F52BA
ΔE00 3.74
Blue (survey)
#0343DF
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.73
Warm Blue
#4B57DB
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DC2 #C2A12C
analogous
#2C98C2 #2C4DC2 #562CC2
triadic
#2C4DC2 #C22C4D #4DC22C
tetradic
#2C4DC2 #C22C98 #C2A12C #2CC256
square
#2C4DC2 #C22C98 #C2A12C #2CC256
split-complementary
#2C4DC2 #C2562C #98C22C
monochromatic
#15255E #213990 #2C4DC2 #5370D8 #859AE3
Accessibility & contrast
On white
7.12
#2C4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2C4DC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DC2
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DC2 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c4dc2; /* rgb */ color: rgb(44, 77, 194); /* oklch */ color: oklch(47.2% 0.187 266.8);
Tailwind
colors: {
custom: {
50: '#7c7ed5',
500: '#2c4dc2',
950: '#000000',
},
}SCSS
$custom: #2c4dc2; $custom-light: #7c7ed5; $custom-dark: #000000;
JSON
{
"hex": "#2c4dc2",
"rgb": {
"r": 44,
"g": 77,
"b": 194
},
"hsl": {
"h": 226.8,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.47157,
"c": 0.18678,
"h": 266.8
},
"luminance": 0.09738
}Semantic roles & 50–950 ramp
primary
#2C4DC2
secondary
#CDBB7D
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83