#2849B1#2849B1
#2849B1 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.170 H 266.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2849B1 |
|---|---|
| RGB | rgb(40, 73, 177) |
| HSL | hsl(226, 63%, 43%) |
| HSV | hsv(226, 77%, 69%) |
| CMYK | cmyk(77.4%, 58.8%, 0%, 30.6%) |
| CIE-LAB | lab(34.78, 26.18, -58.74) |
| CIE-LCH | lch(34.78, 64.31, 294.02°) |
| OKLab | oklab(44.75% -0.0115 -0.1696) |
| OKLCH | oklch(44.75% 0.17 266.1) |
| XYZ | xyz(11.1906, 8.3893, 42.6160) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Blue Blue
#2242C7
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 5.35
Blue (survey)
#0343DF
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849B1 #B19028
analogous
#288EB1 #2849B1 #4B28B1
triadic
#2849B1 #B12849 #49B128
tetradic
#2849B1 #B1288E #B19028 #28B14B
square
#2849B1 #B1288E #B19028 #28B14B
split-complementary
#2849B1 #B14B28 #8EB128
monochromatic
#11204D #1D347F #2849B1 #4265D4 #748EE0
Accessibility & contrast
On white
7.84
#2849B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2849B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849B1
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849B1 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2849b1; /* rgb */ color: rgb(40, 73, 177); /* oklch */ color: oklch(44.8% 0.170 266.1);
Tailwind
colors: {
custom: {
50: '#777bc9',
500: '#2849b1',
950: '#000000',
},
}SCSS
$custom: #2849b1; $custom-light: #777bc9; $custom-dark: #000000;
JSON
{
"hex": "#2849b1",
"rgb": {
"r": 40,
"g": 73,
"b": 177
},
"hsl": {
"h": 225.547,
"s": 63.134,
"l": 42.549
},
"oklch": {
"l": 0.44753,
"c": 0.17004,
"h": 266.1
},
"luminance": 0.08391
}Semantic roles & 50–950 ramp
primary
#2849B1
secondary
#C7B16E
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82