#2849B5#2849B5
#2849B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.175 H 266.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2849B5 |
|---|---|
| RGB | rgb(40, 73, 181) |
| HSL | hsl(226, 64%, 43%) |
| HSV | hsv(226, 78%, 71%) |
| CMYK | cmyk(77.9%, 59.7%, 0%, 29%) |
| CIE-LAB | lab(35.11, 27.70, -60.58) |
| CIE-LCH | lch(35.11, 66.61, 294.57°) |
| OKLab | oklab(45.1% -0.0114 -0.175) |
| OKLCH | oklch(45.1% 0.175 266.3) |
| XYZ | xyz(11.5952, 8.5511, 44.7465) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.94
Sapphire (survey)
#2138AB
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.52
Cobalt (survey)
#1E488F
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849B5 #B59428
analogous
#288FB5 #2849B5 #4D28B5
triadic
#2849B5 #B52849 #49B528
tetradic
#2849B5 #B5288F #B59428 #28B54D
square
#2849B5 #B5288F #B59428 #28B54D
split-complementary
#2849B5 #B54D28 #8FB528
monochromatic
#122151 #1D3583 #2849B5 #4466D6 #778FE1
Accessibility & contrast
On white
7.75
#2849B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2849B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849B5
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849B5 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2849b5; /* rgb */ color: rgb(40, 73, 181); /* oklch */ color: oklch(45.1% 0.175 266.3);
Tailwind
colors: {
custom: {
50: '#787bcc',
500: '#2849b5',
950: '#000000',
},
}SCSS
$custom: #2849b5; $custom-light: #787bcc; $custom-dark: #000000;
JSON
{
"hex": "#2849b5",
"rgb": {
"r": 40,
"g": 73,
"b": 181
},
"hsl": {
"h": 225.957,
"s": 63.801,
"l": 43.333
},
"oklch": {
"l": 0.45096,
"c": 0.17542,
"h": 266.3
},
"luminance": 0.08552
}Semantic roles & 50–950 ramp
primary
#2849B5
secondary
#C8B470
accent
#C041E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82