#2C4DC3#2C4DC3
#2C4DC3 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.188 H 266.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4DC3 |
|---|---|
| RGB | rgb(44, 77, 195) |
| HSL | hsl(227, 63%, 47%) |
| HSV | hsv(227, 77%, 76%) |
| CMYK | cmyk(77.4%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(37.45, 30.75, -64.97) |
| CIE-LCH | lch(37.45, 71.88, 295.33°) |
| OKLab | oklab(47.24% -0.0105 -0.1878) |
| OKLCH | oklch(47.24% 0.188 266.8) |
| XYZ | xyz(13.5395, 9.7818, 52.7937) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.35
Sapphire
#0F52BA
ΔE00 3.82
Blue (survey)
#0343DF
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.85
Warm Blue
#4B57DB
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4DC3 #C3A22C
analogous
#2C99C3 #2C4DC3 #562CC3
triadic
#2C4DC3 #C32C4D #4DC32C
tetradic
#2C4DC3 #C32C99 #C3A22C #2CC356
square
#2C4DC3 #C32C99 #C3A22C #2CC356
split-complementary
#2C4DC3 #C3562C #99C32C
monochromatic
#15265F #213991 #2C4DC3 #5471D8 #869AE4
Accessibility & contrast
On white
7.10
#2C4DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2C4DC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4DC3
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4DC3 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c4dc3; /* rgb */ color: rgb(44, 77, 195); /* oklch */ color: oklch(47.2% 0.188 266.8);
Tailwind
colors: {
custom: {
50: '#7d7ed6',
500: '#2c4dc3',
950: '#000000',
},
}SCSS
$custom: #2c4dc3; $custom-light: #7d7ed6; $custom-dark: #000000;
JSON
{
"hex": "#2c4dc3",
"rgb": {
"r": 44,
"g": 77,
"b": 195
},
"hsl": {
"h": 226.887,
"s": 63.18,
"l": 46.863
},
"oklch": {
"l": 0.47244,
"c": 0.18809,
"h": 266.8
},
"luminance": 0.09783
}Semantic roles & 50–950 ramp
primary
#2C4DC3
secondary
#CDBC7E
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83