#2849BA#2849BA
#2849BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.182 H 266.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2849BA |
|---|---|
| RGB | rgb(40, 73, 186) |
| HSL | hsl(226, 65%, 44%) |
| HSV | hsv(226, 78%, 73%) |
| CMYK | cmyk(78.5%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(35.52, 29.59, -62.86) |
| CIE-LCH | lch(35.52, 69.47, 295.21°) |
| OKLab | oklab(45.53% -0.0113 -0.1817) |
| OKLCH | oklch(45.53% 0.182 266.4) |
| XYZ | xyz(12.1174, 8.7600, 47.4971) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.84
Cobalt
#0047AB
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 4.09
Blue (survey)
#0343DF
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849BA #BA9928
analogous
#2892BA #2849BA #5028BA
triadic
#2849BA #BA2849 #49BA28
tetradic
#2849BA #BA2892 #BA9928 #28BA50
square
#2849BA #BA2892 #BA9928 #28BA50
split-complementary
#2849BA #BA5028 #92BA28
monochromatic
#122155 #1D3588 #2849BA #4868D8 #7A92E2
Accessibility & contrast
On white
7.63
#2849BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2849BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849BA
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849BA | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004DB8
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2849ba; /* rgb */ color: rgb(40, 73, 186); /* oklch */ color: oklch(45.5% 0.182 266.4);
Tailwind
colors: {
custom: {
50: '#7a7bd0',
500: '#2849ba',
950: '#000000',
},
}SCSS
$custom: #2849ba; $custom-light: #7a7bd0; $custom-dark: #000000;
JSON
{
"hex": "#2849ba",
"rgb": {
"r": 40,
"g": 73,
"b": 186
},
"hsl": {
"h": 226.438,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.45532,
"c": 0.18207,
"h": 266.4
},
"luminance": 0.08761
}Semantic roles & 50–950 ramp
primary
#2849BA
secondary
#CAB773
accent
#C240E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82