#2D48CD#2D48CD
#2D48CD is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.3% C 0.207 H 268.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2D48CD |
|---|---|
| RGB | rgb(45, 72, 205) |
| HSL | hsl(230, 64%, 49%) |
| HSV | hsv(230, 78%, 80%) |
| CMYK | cmyk(78%, 64.9%, 0%, 19.6%) |
| CIE-LAB | lab(37.11, 37.71, -71.33) |
| CIE-LCH | lch(37.11, 80.69, 297.86°) |
| OKLab | oklab(47.27% -0.007 -0.2065) |
| OKLCH | oklch(47.27% 0.207 268.1) |
| XYZ | xyz(14.4152, 9.5988, 58.8388) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.01
Blue (survey)
#0343DF
ΔE00 2.50
Ocean Blue
#4F42B5
ΔE00 5.43
Warm Blue
#4B57DB
ΔE00 5.58
Vibrant Blue
#0339F8
ΔE00 5.82
Sapphire
#0F52BA
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D48CD #CDB22D
analogous
#2D98CD #2D48CD #622DCD
triadic
#2D48CD #CD2D48 #48CD2D
tetradic
#2D48CD #CD2D98 #CDB22D #2DCD62
square
#2D48CD #CD2D98 #CDB22D #2DCD62
split-complementary
#2D48CD #CD622D #98CD2D
monochromatic
#172569 #22369B #2D48CD #5C71DB #8E9DE6
Accessibility & contrast
On white
7.19
#2D48CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#2D48CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D48CD
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D48CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D48CD | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0050CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2d48cd; /* rgb */ color: rgb(45, 72, 205); /* oklch */ color: oklch(47.3% 0.207 268.1);
Tailwind
colors: {
custom: {
50: '#807bdd',
500: '#2d48cd',
950: '#000000',
},
}SCSS
$custom: #2d48cd; $custom-light: #807bdd; $custom-dark: #000000;
JSON
{
"hex": "#2d48cd",
"rgb": {
"r": 45,
"g": 72,
"b": 205
},
"hsl": {
"h": 229.875,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.47271,
"c": 0.20658,
"h": 268.1
},
"luminance": 0.096
}Semantic roles & 50–950 ramp
primary
#2D48CD
secondary
#D1C485
accent
#CB41E7
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83