#2D4EC3#2D4EC3
#2D4EC3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.5% C 0.187 H 266.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EC3 |
|---|---|
| RGB | rgb(45, 78, 195) |
| HSL | hsl(227, 63%, 47%) |
| HSV | hsv(227, 77%, 76%) |
| CMYK | cmyk(76.9%, 60%, 0%, 23.5%) |
| CIE-LAB | lab(37.74, 30.21, -64.49) |
| CIE-LCH | lch(37.74, 71.21, 295.10°) |
| OKLab | oklab(47.48% -0.0103 -0.1863) |
| OKLCH | oklch(47.48% 0.187 266.8) |
| XYZ | xyz(13.6535, 9.9453, 52.8192) |
| Luminance | 0.0995 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.65
Sapphire
#0F52BA
ΔE00 3.67
Blue (survey)
#0343DF
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.94
Warm Blue
#4B57DB
ΔE00 5.54
Ocean Blue
#4F42B5
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EC3 #C3A22D
analogous
#2D99C3 #2D4EC3 #572DC3
triadic
#2D4EC3 #C32D4E #4EC32D
tetradic
#2D4EC3 #C32D99 #C3A22D #2DC357
square
#2D4EC3 #C32D99 #C3A22D #2DC357
split-complementary
#2D4EC3 #C3572D #99C32D
monochromatic
#162660 #223A91 #2D4EC3 #5572D8 #879BE3
Accessibility & contrast
On white
7.02
#2D4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2D4EC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EC3
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EC3 | 1.00 | 7.02 | 2.99 | 7.02 |
| #FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C7
Deuteranopia (green-blind)
#0052C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2d4ec3; /* rgb */ color: rgb(45, 78, 195); /* oklch */ color: oklch(47.5% 0.187 266.8);
Tailwind
colors: {
custom: {
50: '#7d7fd6',
500: '#2d4ec3',
950: '#000000',
},
}SCSS
$custom: #2d4ec3; $custom-light: #7d7fd6; $custom-dark: #000000;
JSON
{
"hex": "#2d4ec3",
"rgb": {
"r": 45,
"g": 78,
"b": 195
},
"hsl": {
"h": 226.8,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.47475,
"c": 0.18663,
"h": 266.8
},
"luminance": 0.09947
}Semantic roles & 50–950 ramp
primary
#2D4EC3
secondary
#CDBC7F
accent
#C242E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83