#2D5DCD#2D5DCD
#2D5DCD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.182 H 263.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5DCD |
|---|---|
| RGB | rgb(45, 93, 205) |
| HSL | hsl(222, 64%, 49%) |
| HSV | hsv(222, 78%, 80%) |
| CMYK | cmyk(78%, 54.6%, 0%, 19.6%) |
| CIE-LAB | lab(42.45, 24.21, -62.62) |
| CIE-LCH | lch(42.45, 67.14, 291.14°) |
| OKLab | oklab(51.25% -0.0199 -0.1806) |
| OKLCH | oklch(51.25% 0.182 263.7) |
| XYZ | xyz(16.0121, 12.7925, 59.3711) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.70
Denim
#1560BD
ΔE00 4.04
Sapphire
#0F52BA
ΔE00 4.62
Royal Blue
#4169E1
ΔE00 5.15
Warm Blue
#4B57DB
ΔE00 5.34
French Blue
#436BAD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5DCD #CD9D2D
analogous
#2DADCD #2D5DCD #4D2DCD
triadic
#2D5DCD #CD2D5D #5DCD2D
tetradic
#2D5DCD #CD2DAD #CD9D2D #2DCD4D
square
#2D5DCD #CD2DAD #CD9D2D #2DCD4D
split-complementary
#2D5DCD #CD4D2D #ADCD2D
monochromatic
#172F69 #22469B #2D5DCD #5C82DB #8EA9E6
Accessibility & contrast
On white
5.90
#2D5DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#2D5DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5DCD
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5DCD | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2d5dcd; /* rgb */ color: rgb(45, 93, 205); /* oklch */ color: oklch(51.2% 0.182 263.7);
Tailwind
colors: {
custom: {
50: '#7e8add',
500: '#2d5dcd',
950: '#000000',
},
}SCSS
$custom: #2d5dcd; $custom-light: #7e8add; $custom-dark: #000000;
JSON
{
"hex": "#2d5dcd",
"rgb": {
"r": 45,
"g": 93,
"b": 205
},
"hsl": {
"h": 222,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.51249,
"c": 0.18173,
"h": 263.7
},
"luminance": 0.12794
}Semantic roles & 50–950 ramp
primary
#2D5DCD
secondary
#D1BA85
accent
#B541E7
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83