#2849B4#2849B4
#2849B4 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.174 H 266.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2849B4 |
|---|---|
| RGB | rgb(40, 73, 180) |
| HSL | hsl(226, 64%, 43%) |
| HSV | hsv(226, 78%, 71%) |
| CMYK | cmyk(77.8%, 59.4%, 0%, 29.4%) |
| CIE-LAB | lab(35.02, 27.32, -60.12) |
| CIE-LCH | lch(35.02, 66.04, 294.44°) |
| OKLab | oklab(45.01% -0.0114 -0.1737) |
| OKLCH | oklch(45.01% 0.174 266.2) |
| XYZ | xyz(11.4929, 8.5102, 44.2081) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Blue Blue
#2242C7
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.93
Sapphire (survey)
#2138AB
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.65
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849B4 #B49328
analogous
#288FB4 #2849B4 #4D28B4
triadic
#2849B4 #B42849 #49B428
tetradic
#2849B4 #B4288F #B49328 #28B44D
square
#2849B4 #B4288F #B49328 #28B44D
split-complementary
#2849B4 #B44D28 #8FB428
monochromatic
#122050 #1D3582 #2849B4 #4466D5 #768FE1
Accessibility & contrast
On white
7.77
#2849B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2849B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849B4
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849B4 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2849b4; /* rgb */ color: rgb(40, 73, 180); /* oklch */ color: oklch(45.0% 0.174 266.2);
Tailwind
colors: {
custom: {
50: '#787bcb',
500: '#2849b4',
950: '#000000',
},
}SCSS
$custom: #2849b4; $custom-light: #787bcb; $custom-dark: #000000;
JSON
{
"hex": "#2849b4",
"rgb": {
"r": 40,
"g": 73,
"b": 180
},
"hsl": {
"h": 225.857,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.4501,
"c": 0.17408,
"h": 266.2
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#2849B4
secondary
#C8B370
accent
#C041E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82