#2848AC#2848AC
#2848AC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.164 H 266.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2848AC |
|---|---|
| RGB | rgb(40, 72, 172) |
| HSL | hsl(225, 62%, 42%) |
| HSV | hsv(225, 77%, 67%) |
| CMYK | cmyk(76.7%, 58.1%, 0%, 32.5%) |
| CIE-LAB | lab(34.11, 24.94, -56.86) |
| CIE-LCH | lch(34.11, 62.08, 293.68°) |
| OKLab | oklab(44.13% -0.011 -0.1641) |
| OKLCH | oklch(44.13% 0.164 266.2) |
| XYZ | xyz(10.6362, 8.0632, 40.0175) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.45
Sapphire
#0F52BA
ΔE00 4.27
Blue Blue
#2242C7
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.78
Sapphire (survey)
#2138AB
ΔE00 4.98
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848AC #AC8C28
analogous
#288AAC #2848AC #4A28AC
triadic
#2848AC #AC2848 #48AC28
tetradic
#2848AC #AC288A #AC8C28 #28AC4A
square
#2848AC #AC288A #AC8C28 #28AC4A
split-complementary
#2848AC #AC4A28 #8AAC28
monochromatic
#111E49 #1C337A #2848AC #3F63D2 #718BDE
Accessibility & contrast
On white
8.04
#2848AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#2848AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848AC
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848AC | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2848ac; /* rgb */ color: rgb(40, 72, 172); /* oklch */ color: oklch(44.1% 0.164 266.2);
Tailwind
colors: {
custom: {
50: '#767ac6',
500: '#2848ac',
950: '#000000',
},
}SCSS
$custom: #2848ac; $custom-light: #767ac6; $custom-dark: #000000;
JSON
{
"hex": "#2848ac",
"rgb": {
"r": 40,
"g": 72,
"b": 172
},
"hsl": {
"h": 225.455,
"s": 62.264,
"l": 41.569
},
"oklch": {
"l": 0.44128,
"c": 0.16449,
"h": 266.2
},
"luminance": 0.08064
}Semantic roles & 50–950 ramp
primary
#2848AC
secondary
#C5AF6B
accent
#BE42E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82