#2D5ED4#2D5ED4
#2D5ED4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.0% C 0.190 H 263.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5ED4 |
|---|---|
| RGB | rgb(45, 94, 212) |
| HSL | hsl(222, 66%, 50%) |
| HSV | hsv(222, 79%, 83%) |
| CMYK | cmyk(78.8%, 55.7%, 0%, 16.9%) |
| CIE-LAB | lab(43.23, 26.20, -65.36) |
| CIE-LCH | lch(43.23, 70.42, 291.84°) |
| OKLab | oklab(52.01% -0.0201 -0.1887) |
| OKLCH | oklch(52.01% 0.19 263.9) |
| XYZ | xyz(16.9643, 13.3148, 63.9505) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.82
Royal Blue
#4169E1
ΔE00 4.39
Denim
#1560BD
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.94
Bright Blue
#0165FC
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5ED4 #D4A32D
analogous
#2DB2D4 #2D5ED4 #4F2DD4
triadic
#2D5ED4 #D42D5E #5ED42D
tetradic
#2D5ED4 #D42DB2 #D4A32D #2DD44F
square
#2D5ED4 #D42DB2 #D4A32D #2DD44F
split-complementary
#2D5ED4 #D44F2D #B2D42D
monochromatic
#173170 #2147A3 #2D5ED4 #6085DE #93ACE9
Accessibility & contrast
On white
5.73
#2D5ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2D5ED4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5ED4
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5ED4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5ED4 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2d5ed4; /* rgb */ color: rgb(45, 94, 212); /* oklch */ color: oklch(52.0% 0.190 263.9);
Tailwind
colors: {
custom: {
50: '#808be2',
500: '#2d5ed4',
950: '#000000',
},
}SCSS
$custom: #2d5ed4; $custom-light: #808be2; $custom-dark: #000000;
JSON
{
"hex": "#2d5ed4",
"rgb": {
"r": 45,
"g": 94,
"b": 212
},
"hsl": {
"h": 222.395,
"s": 66.008,
"l": 50.392
},
"oklch": {
"l": 0.52005,
"c": 0.18975,
"h": 263.9
},
"luminance": 0.13317
}Semantic roles & 50–950 ramp
primary
#2D5ED4
secondary
#D4BE89
accent
#B73FE9
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B15
muted
#7D7C84