#2D49B2#2D49B2
#2D49B2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.170 H 267.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D49B2 |
|---|---|
| RGB | rgb(45, 73, 178) |
| HSL | hsl(227, 60%, 44%) |
| HSV | hsv(227, 75%, 70%) |
| CMYK | cmyk(74.7%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(35.08, 27.13, -58.85) |
| CIE-LCH | lch(35.08, 64.80, 294.75°) |
| OKLab | oklab(45.06% -0.0072 -0.1699) |
| OKLCH | oklch(45.06% 0.17 267.6) |
| XYZ | xyz(11.4978, 8.5361, 43.1525) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.30
Blue Blue
#2242C7
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.27
Sapphire (survey)
#2138AB
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.80
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D49B2 #B2962D
analogous
#2D8BB2 #2D49B2 #532DB2
triadic
#2D49B2 #B22D49 #49B22D
tetradic
#2D49B2 #B22D8B #B2962D #2DB253
square
#2D49B2 #B22D8B #B2962D #2DB253
split-complementary
#2D49B2 #B2532D #8BB22D
monochromatic
#142150 #213581 #2D49B2 #4B67D1 #7C90DE
Accessibility & contrast
On white
7.76
#2D49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2D49B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D49B2
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D49B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D49B2 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2d49b2; /* rgb */ color: rgb(45, 73, 178); /* oklch */ color: oklch(45.1% 0.170 267.6);
Tailwind
colors: {
custom: {
50: '#797bca',
500: '#2d49b2',
950: '#000000',
},
}SCSS
$custom: #2d49b2; $custom-light: #797bca; $custom-dark: #000000;
JSON
{
"hex": "#2d49b2",
"rgb": {
"r": 45,
"g": 73,
"b": 178
},
"hsl": {
"h": 227.368,
"s": 59.641,
"l": 43.725
},
"oklch": {
"l": 0.45057,
"c": 0.17001,
"h": 267.6
},
"luminance": 0.08537
}Semantic roles & 50–950 ramp
primary
#2D49B2
secondary
#C6B575
accent
#C245E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82