#2D5DC8#2D5DC8
#2D5DC8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.9% C 0.175 H 263.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5DC8 |
|---|---|
| RGB | rgb(45, 93, 200) |
| HSL | hsl(221, 63%, 48%) |
| HSV | hsv(221, 78%, 78%) |
| CMYK | cmyk(77.5%, 53.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.08, 22.32, -60.33) |
| CIE-LCH | lch(42.08, 64.32, 290.31°) |
| OKLab | oklab(50.86% -0.0204 -0.1739) |
| OKLCH | oklch(50.86% 0.175 263.3) |
| XYZ | xyz(15.4181, 12.5549, 56.2431) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 4.23
Azul
#1D5DEC
ΔE00 4.35
Royal Blue
#4169E1
ΔE00 5.58
French Blue
#436BAD
ΔE00 5.65
Warm Blue
#4B57DB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5DC8 #C8982D
analogous
#2DAAC8 #2D5DC8 #4A2DC8
triadic
#2D5DC8 #C82D5D #5DC82D
tetradic
#2D5DC8 #C82DAA #C8982D #2DC84A
square
#2D5DC8 #C82DAA #C8982D #2DC84A
split-complementary
#2D5DC8 #C84A2D #AAC82D
monochromatic
#172F64 #224696 #2D5DC8 #5981DA #8BA7E5
Accessibility & contrast
On white
5.98
#2D5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2D5DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D5DC8
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5DC8 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2d5dc8; /* rgb */ color: rgb(45, 93, 200); /* oklch */ color: oklch(50.9% 0.175 263.3);
Tailwind
colors: {
custom: {
50: '#7d8ad9',
500: '#2d5dc8',
950: '#000000',
},
}SCSS
$custom: #2d5dc8; $custom-light: #7d8ad9; $custom-dark: #000000;
JSON
{
"hex": "#2d5dc8",
"rgb": {
"r": 45,
"g": 93,
"b": 200
},
"hsl": {
"h": 221.419,
"s": 63.265,
"l": 48.039
},
"oklch": {
"l": 0.50858,
"c": 0.17507,
"h": 263.3
},
"luminance": 0.12557
}Semantic roles & 50–950 ramp
primary
#2D5DC8
secondary
#CFB782
accent
#B341E6
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83