#2D4FC4#2D4FC4
#2D4FC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.187 H 266.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4FC4 |
|---|---|
| RGB | rgb(45, 79, 196) |
| HSL | hsl(226, 63%, 47%) |
| HSV | hsv(226, 77%, 77%) |
| CMYK | cmyk(77%, 59.7%, 0%, 23.1%) |
| CIE-LAB | lab(38.08, 29.93, -64.52) |
| CIE-LCH | lch(38.08, 71.12, 294.89°) |
| OKLab | oklab(47.75% -0.011 -0.1864) |
| OKLCH | oklch(47.75% 0.187 266.6) |
| XYZ | xyz(13.8385, 10.1338, 53.4405) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.55
Blue Blue
#2242C7
ΔE00 3.95
Blue (survey)
#0343DF
ΔE00 4.69
Cobalt
#0047AB
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.35
Azul
#1D5DEC
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4FC4 #C4A22D
analogous
#2D9BC4 #2D4FC4 #562DC4
triadic
#2D4FC4 #C42D4F #4FC42D
tetradic
#2D4FC4 #C42D9B #C4A22D #2DC456
square
#2D4FC4 #C42D9B #C4A22D #2DC456
split-complementary
#2D4FC4 #C4562D #9BC42D
monochromatic
#162760 #223B92 #2D4FC4 #5673D8 #889CE4
Accessibility & contrast
On white
6.94
#2D4FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#2D4FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D4FC4
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4FC4 | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 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: #2d4fc4; /* rgb */ color: rgb(45, 79, 196); /* oklch */ color: oklch(47.8% 0.187 266.6);
Tailwind
colors: {
custom: {
50: '#7d80d7',
500: '#2d4fc4',
950: '#000000',
},
}SCSS
$custom: #2d4fc4; $custom-light: #7d80d7; $custom-dark: #000000;
JSON
{
"hex": "#2d4fc4",
"rgb": {
"r": 45,
"g": 79,
"b": 196
},
"hsl": {
"h": 226.49,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.47752,
"c": 0.18674,
"h": 266.6
},
"luminance": 0.10135
}Semantic roles & 50–950 ramp
primary
#2D4FC4
secondary
#CDBC80
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83