#2849A7#2849A7
#2849A7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.156 H 265.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2849A7 |
|---|---|
| RGB | rgb(40, 73, 167) |
| HSL | hsl(224, 61%, 41%) |
| HSV | hsv(224, 76%, 65%) |
| CMYK | cmyk(76%, 56.3%, 0%, 34.5%) |
| CIE-LAB | lab(33.99, 22.35, -54.07) |
| CIE-LCH | lch(33.99, 58.51, 292.46°) |
| OKLab | oklab(43.92% -0.012 -0.1559) |
| OKLCH | oklch(43.92% 0.156 265.6) |
| XYZ | xyz(10.2302, 8.0051, 37.5577) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.21
Cobalt (survey)
#1E488F
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.53
Dusk Blue
#26538D
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849A7 #A78628
analogous
#2889A7 #2849A7 #4628A7
triadic
#2849A7 #A72849 #49A728
tetradic
#2849A7 #A72889 #A78628 #28A746
square
#2849A7 #A72889 #A78628 #28A746
split-complementary
#2849A7 #A74628 #89A728
monochromatic
#101E44 #1C3376 #2849A7 #3C62D0 #6D8ADC
Accessibility & contrast
On white
8.07
#2849A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2849A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849A7
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849A7 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2849a7; /* rgb */ color: rgb(40, 73, 167); /* oklch */ color: oklch(43.9% 0.156 265.6);
Tailwind
colors: {
custom: {
50: '#757bc2',
500: '#2849a7',
950: '#000000',
},
}SCSS
$custom: #2849a7; $custom-light: #757bc2; $custom-dark: #000000;
JSON
{
"hex": "#2849a7",
"rgb": {
"r": 40,
"g": 73,
"b": 167
},
"hsl": {
"h": 224.409,
"s": 61.353,
"l": 40.588
},
"oklch": {
"l": 0.43915,
"c": 0.15637,
"h": 265.6
},
"luminance": 0.08006
}Semantic roles & 50–950 ramp
primary
#2849A7
secondary
#C3AB68
accent
#BB43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81