#2848AE#2848AE
#2848AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.167 H 266.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2848AE |
|---|---|
| RGB | rgb(40, 72, 174) |
| HSL | hsl(226, 63%, 42%) |
| HSV | hsv(226, 77%, 68%) |
| CMYK | cmyk(77%, 58.6%, 0%, 31.8%) |
| CIE-LAB | lab(34.27, 25.70, -57.79) |
| CIE-LCH | lch(34.27, 63.24, 293.98°) |
| OKLab | oklab(44.3% -0.0109 -0.1669) |
| OKLCH | oklch(44.3% 0.167 266.3) |
| XYZ | xyz(10.8297, 8.1406, 41.0367) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.57
Blue Blue
#2242C7
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.05
Blue (survey)
#0343DF
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848AE #AE8E28
analogous
#288BAE #2848AE #4B28AE
triadic
#2848AE #AE2848 #48AE28
tetradic
#2848AE #AE288B #AE8E28 #28AE4B
square
#2848AE #AE288B #AE8E28 #28AE4B
split-complementary
#2848AE #AE4B28 #8BAE28
monochromatic
#111F4A #1D337C #2848AE #4063D3 #728CDF
Accessibility & contrast
On white
7.99
#2848AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2848AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848AE
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848AE | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2848ae; /* rgb */ color: rgb(40, 72, 174); /* oklch */ color: oklch(44.3% 0.167 266.3);
Tailwind
colors: {
custom: {
50: '#777ac7',
500: '#2848ae',
950: '#000000',
},
}SCSS
$custom: #2848ae; $custom-light: #777ac7; $custom-dark: #000000;
JSON
{
"hex": "#2848ae",
"rgb": {
"r": 40,
"g": 72,
"b": 174
},
"hsl": {
"h": 225.672,
"s": 62.617,
"l": 41.961
},
"oklch": {
"l": 0.44298,
"c": 0.16722,
"h": 266.3
},
"luminance": 0.08142
}Semantic roles & 50–950 ramp
primary
#2848AE
secondary
#C6B06C
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82