#2D5FD3#2D5FD3
#2D5FD3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.187 H 263.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5FD3 |
|---|---|
| RGB | rgb(45, 95, 211) |
| HSL | hsl(222, 65%, 50%) |
| HSV | hsv(222, 79%, 83%) |
| CMYK | cmyk(78.7%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(43.42, 25.18, -64.48) |
| CIE-LCH | lch(43.42, 69.22, 291.33°) |
| OKLab | oklab(52.13% -0.0209 -0.1861) |
| OKLCH | oklch(52.13% 0.187 263.6) |
| XYZ | xyz(16.9281, 13.4435, 63.3181) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.00
Royal Blue
#4169E1
ΔE00 4.23
Denim
#1560BD
ΔE00 4.37
Bright Blue
#0165FC
ΔE00 5.12
Warm Blue
#4B57DB
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5FD3 #D3A12D
analogous
#2DB2D3 #2D5FD3 #4E2DD3
triadic
#2D5FD3 #D32D5F #5FD32D
tetradic
#2D5FD3 #D32DB2 #D3A12D #2DD34E
square
#2D5FD3 #D32DB2 #D3A12D #2DD34E
split-complementary
#2D5FD3 #D34E2D #B2D32D
monochromatic
#17316E #2248A1 #2D5FD3 #6086DE #92ACE8
Accessibility & contrast
On white
5.69
#2D5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2D5FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5FD3
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5FD3 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2d5fd3; /* rgb */ color: rgb(45, 95, 211); /* oklch */ color: oklch(52.1% 0.187 263.6);
Tailwind
colors: {
custom: {
50: '#808be1',
500: '#2d5fd3',
950: '#000000',
},
}SCSS
$custom: #2d5fd3; $custom-light: #808be1; $custom-dark: #000000;
JSON
{
"hex": "#2d5fd3",
"rgb": {
"r": 45,
"g": 95,
"b": 211
},
"hsl": {
"h": 221.928,
"s": 65.354,
"l": 50.196
},
"oklch": {
"l": 0.52125,
"c": 0.18724,
"h": 263.6
},
"luminance": 0.13445
}Semantic roles & 50–950 ramp
primary
#2D5FD3
secondary
#D3BD89
accent
#B53FE8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83