#2D4FF2#2D4FF2
#2D4FF2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.9% C 0.244 H 267.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4FF2 |
|---|---|
| RGB | rgb(45, 79, 242) |
| HSL | hsl(230, 88%, 56%) |
| HSV | hsv(230, 81%, 95%) |
| CMYK | cmyk(81.4%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(42.09, 46.51, -84.26) |
| CIE-LCH | lch(42.09, 96.24, 298.90°) |
| OKLab | oklab(51.93% -0.0123 -0.2442) |
| OKLCH | oklch(51.93% 0.244 267.1) |
| XYZ | xyz(19.8996, 12.5583, 85.3624) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Electric Blue
#0652FF
ΔE00 1.91
Warm Blue
#4B57DB
ΔE00 3.60
Azul
#1D5DEC
ΔE00 4.71
Blue (survey)
#0343DF
ΔE00 4.74
Vibrant Blue
#0339F8
ΔE00 5.40
Purpleish Blue
#6140EF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4FF2 #F2D02D
analogous
#2DB1F2 #2D4FF2 #6E2DF2
triadic
#2D4FF2 #F22D4F #4FF22D
tetradic
#2D4FF2 #F22DB1 #F2D02D #2DF26E
square
#2D4FF2 #F22DB1 #F2D02D #2DF26E
split-complementary
#2D4FF2 #F26E2D #B1F22D
monochromatic
#0A239B #0D30D5 #2D4FF2 #677FF6 #A0B0F9
Accessibility & contrast
On white
5.98
#2D4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2D4FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D4FF2
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4FF2 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DF7
Deuteranopia (green-blind)
#005AEF
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2d4ff2; /* rgb */ color: rgb(45, 79, 242); /* oklch */ color: oklch(51.9% 0.244 267.1);
Tailwind
colors: {
custom: {
50: '#8880f8',
500: '#2d4ff2',
950: '#000000',
},
}SCSS
$custom: #2d4ff2; $custom-light: #8880f8; $custom-dark: #000000;
JSON
{
"hex": "#2d4ff2",
"rgb": {
"r": 45,
"g": 79,
"b": 242
},
"hsl": {
"h": 229.645,
"s": 88.341,
"l": 56.275
},
"oklch": {
"l": 0.51929,
"c": 0.24448,
"h": 267.1
},
"luminance": 0.12561
}Semantic roles & 50–950 ramp
primary
#2D4FF2
secondary
#E6D895
accent
#DA29FE
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0E0A17
muted
#7E7C85