#2D5CDB#2D5CDB
#2D5CDB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.2% C 0.201 H 264.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5CDB |
|---|---|
| RGB | rgb(45, 92, 219) |
| HSL | hsl(224, 71%, 52%) |
| HSV | hsv(224, 79%, 86%) |
| CMYK | cmyk(79.5%, 58%, 0%, 14.1%) |
| CIE-LAB | lab(43.25, 30.10, -69.34) |
| CIE-LCH | lch(43.25, 75.59, 293.46°) |
| OKLab | oklab(52.18% -0.0185 -0.2004) |
| OKLCH | oklch(52.18% 0.201 264.7) |
| XYZ | xyz(17.6910, 13.3246, 68.6436) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.98
Warm Blue
#4B57DB
ΔE00 3.98
Royal Blue
#4169E1
ΔE00 4.54
Bright Blue
#0165FC
ΔE00 4.90
Electric Blue
#0652FF
ΔE00 4.93
Denim
#1560BD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5CDB #DBAC2D
analogous
#2DB3DB #2D5CDB #552DDB
triadic
#2D5CDB #DB2D5C #5CDB2D
tetradic
#2D5CDB #DB2DB3 #DBAC2D #2DDB55
square
#2D5CDB #DB2DB3 #DBAC2D #2DDB55
split-complementary
#2D5CDB #DB552D #B3DB2D
monochromatic
#153079 #1E44AD #2D5CDB #6185E4 #95ADED
Accessibility & contrast
On white
5.73
#2D5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#2D5CDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5CDB
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5CDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5CDB | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2d5cdb; /* rgb */ color: rgb(45, 92, 219); /* oklch */ color: oklch(52.2% 0.201 264.7);
Tailwind
colors: {
custom: {
50: '#8289e7',
500: '#2d5cdb',
950: '#000000',
},
}SCSS
$custom: #2d5cdb; $custom-light: #8289e7; $custom-dark: #000000;
JSON
{
"hex": "#2d5cdb",
"rgb": {
"r": 45,
"g": 92,
"b": 219
},
"hsl": {
"h": 223.793,
"s": 70.732,
"l": 51.765
},
"oklch": {
"l": 0.52183,
"c": 0.20124,
"h": 264.7
},
"luminance": 0.13327
}Semantic roles & 50–950 ramp
primary
#2D5CDB
secondary
#D8C38C
accent
#BD3AED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84