#2C4CC3#2C4CC3
#2C4CC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.1% C 0.189 H 267.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4CC3 |
|---|---|
| RGB | rgb(44, 76, 195) |
| HSL | hsl(227, 63%, 47%) |
| HSV | hsv(227, 77%, 76%) |
| CMYK | cmyk(77.4%, 61%, 0%, 23.5%) |
| CIE-LAB | lab(37.19, 31.40, -65.39) |
| CIE-LCH | lch(37.19, 72.53, 295.65°) |
| OKLab | oklab(47.06% -0.0099 -0.189) |
| OKLCH | oklch(47.06% 0.189 267) |
| XYZ | xyz(13.4700, 9.6430, 52.7705) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Sapphire
#0F52BA
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.84
Warm Blue
#4B57DB
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4CC3 #C3A32C
analogous
#2C98C3 #2C4CC3 #582CC3
triadic
#2C4CC3 #C32C4C #4CC32C
tetradic
#2C4CC3 #C32C98 #C3A32C #2CC358
square
#2C4CC3 #C32C98 #C3A32C #2CC358
split-complementary
#2C4CC3 #C3582C #98C32C
monochromatic
#15255F #213991 #2C4CC3 #5470D8 #869AE4
Accessibility & contrast
On white
7.17
#2C4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2C4CC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4CC3
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4CC3 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 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: #2c4cc3; /* rgb */ color: rgb(44, 76, 195); /* oklch */ color: oklch(47.1% 0.189 267.0);
Tailwind
colors: {
custom: {
50: '#7d7dd6',
500: '#2c4cc3',
950: '#000000',
},
}SCSS
$custom: #2c4cc3; $custom-light: #7d7dd6; $custom-dark: #000000;
JSON
{
"hex": "#2c4cc3",
"rgb": {
"r": 44,
"g": 76,
"b": 195
},
"hsl": {
"h": 227.285,
"s": 63.18,
"l": 46.863
},
"oklch": {
"l": 0.47055,
"c": 0.18929,
"h": 267
},
"luminance": 0.09644
}Semantic roles & 50–950 ramp
primary
#2C4CC3
secondary
#CDBC7E
accent
#C342E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83