#2849A2#2849A2
#2849A2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.149 H 265.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2849A2 |
|---|---|
| RGB | rgb(40, 73, 162) |
| HSL | hsl(224, 60%, 40%) |
| HSV | hsv(224, 75%, 64%) |
| CMYK | cmyk(75.3%, 54.9%, 0%, 36.5%) |
| CIE-LAB | lab(33.61, 20.42, -51.69) |
| CIE-LCH | lch(33.61, 55.57, 291.56°) |
| OKLab | oklab(43.51% -0.0123 -0.1489) |
| OKLCH | oklch(43.51% 0.149 265.3) |
| XYZ | xyz(9.7769, 7.8238, 35.1703) |
| Luminance | 0.0783 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.29
Cobalt (survey)
#1E488F
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 4.42
Dusk Blue
#26538D
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.84
Blue Blue
#2242C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2849A2 #A28128
analogous
#2886A2 #2849A2 #4428A2
triadic
#2849A2 #A22849 #49A228
tetradic
#2849A2 #A22886 #A28128 #28A244
square
#2849A2 #A22886 #A28128 #28A244
split-complementary
#2849A2 #A24428 #86A228
monochromatic
#101D40 #1C3371 #2849A2 #3961CE #6A88DA
Accessibility & contrast
On white
8.19
#2849A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2849A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2849A2
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2849A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2849A2 | 1.00 | 8.19 | 2.57 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2849a2; /* rgb */ color: rgb(40, 73, 162); /* oklch */ color: oklch(43.5% 0.149 265.3);
Tailwind
colors: {
custom: {
50: '#747bbe',
500: '#2849a2',
950: '#000000',
},
}SCSS
$custom: #2849a2; $custom-light: #747bbe; $custom-dark: #000000;
JSON
{
"hex": "#2849a2",
"rgb": {
"r": 40,
"g": 73,
"b": 162
},
"hsl": {
"h": 223.77,
"s": 60.396,
"l": 39.608
},
"oklch": {
"l": 0.43508,
"c": 0.14942,
"h": 265.3
},
"luminance": 0.07825
}Semantic roles & 50–950 ramp
primary
#2849A2
secondary
#C1A865
accent
#B844E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81