#2C4FC4#2C4FC4
#2C4FC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.187 H 266.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FC4 |
|---|---|
| RGB | rgb(44, 79, 196) |
| HSL | hsl(226, 63%, 47%) |
| HSV | hsv(226, 78%, 77%) |
| CMYK | cmyk(77.6%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(38.04, 29.83, -64.58) |
| CIE-LCH | lch(38.04, 71.14, 294.79°) |
| OKLab | oklab(47.71% -0.0118 -0.1866) |
| OKLCH | oklch(47.71% 0.187 266.4) |
| XYZ | xyz(13.7950, 10.1114, 53.4385) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.46
Blue Blue
#2242C7
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.04
Warm Blue
#4B57DB
ΔE00 5.42
Azul
#1D5DEC
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FC4 #C4A12C
analogous
#2C9BC4 #2C4FC4 #552CC4
triadic
#2C4FC4 #C42C4F #4FC42C
tetradic
#2C4FC4 #C42C9B #C4A12C #2CC455
square
#2C4FC4 #C42C9B #C4A12C #2CC455
split-complementary
#2C4FC4 #C4552C #9BC42C
monochromatic
#162760 #213B92 #2C4FC4 #5473D9 #869CE4
Accessibility & contrast
On white
6.95
#2C4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#2C4FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C4FC4
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FC4 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c4fc4; /* rgb */ color: rgb(44, 79, 196); /* oklch */ color: oklch(47.7% 0.187 266.4);
Tailwind
colors: {
custom: {
50: '#7d7fd7',
500: '#2c4fc4',
950: '#000000',
},
}SCSS
$custom: #2c4fc4; $custom-light: #7d7fd7; $custom-dark: #000000;
JSON
{
"hex": "#2c4fc4",
"rgb": {
"r": 44,
"g": 79,
"b": 196
},
"hsl": {
"h": 226.184,
"s": 63.333,
"l": 47.059
},
"oklch": {
"l": 0.47711,
"c": 0.18701,
"h": 266.4
},
"luminance": 0.10113
}Semantic roles & 50–950 ramp
primary
#2C4FC4
secondary
#CDBB7E
accent
#C041E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83