#2D5FE2#2D5FE2
#2D5FE2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.3% C 0.207 H 264.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5FE2 |
|---|---|
| RGB | rgb(45, 95, 226) |
| HSL | hsl(223, 76%, 53%) |
| HSV | hsv(223, 80%, 89%) |
| CMYK | cmyk(80.1%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(44.56, 30.78, -71.18) |
| CIE-LCH | lch(44.56, 77.55, 293.39°) |
| OKLab | oklab(53.34% -0.02 -0.2057) |
| OKLCH | oklch(53.34% 0.207 264.4) |
| XYZ | xyz(18.8970, 14.2310, 73.6877) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.24
Royal Blue
#4169E1
ΔE00 3.44
Bright Blue
#0165FC
ΔE00 3.64
Warm Blue
#4B57DB
ΔE00 4.42
Electric Blue
#0652FF
ΔE00 4.90
Cerulean Blue
#056EEE
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5FE2 #E2B02D
analogous
#2DBAE2 #2D5FE2 #552DE2
triadic
#2D5FE2 #E22D5F #5FE22D
tetradic
#2D5FE2 #E22DBA #E2B02D #2DE255
square
#2D5FE2 #E22DBA #E2B02D #2DE255
split-complementary
#2D5FE2 #E2552D #BAE22D
monochromatic
#123183 #1945B8 #2D5FE2 #6388E9 #99B1F1
Accessibility & contrast
On white
5.46
#2D5FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2D5FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5FE2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5FE2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2d5fe2; /* rgb */ color: rgb(45, 95, 226); /* oklch */ color: oklch(53.3% 0.207 264.4);
Tailwind
colors: {
custom: {
50: '#838bec',
500: '#2d5fe2',
950: '#000000',
},
}SCSS
$custom: #2d5fe2; $custom-light: #838bec; $custom-dark: #000000;
JSON
{
"hex": "#2d5fe2",
"rgb": {
"r": 45,
"g": 95,
"b": 226
},
"hsl": {
"h": 223.425,
"s": 75.732,
"l": 53.137
},
"oklch": {
"l": 0.53338,
"c": 0.2067,
"h": 264.4
},
"luminance": 0.14233
}Semantic roles & 50–950 ramp
primary
#2D5FE2
secondary
#DCC78E
accent
#BE35F2
background
#F9F8FE
surface
#F1F0FD
border
#CBCBD5
text
#0D0C16
muted
#7E7D84