#2848B0#2848B0
#2848B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.170 H 266.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2848B0 |
|---|---|
| RGB | rgb(40, 72, 176) |
| HSL | hsl(226, 63%, 42%) |
| HSV | hsv(226, 77%, 69%) |
| CMYK | cmyk(77.3%, 59.1%, 0%, 31%) |
| CIE-LAB | lab(34.44, 26.46, -58.71) |
| CIE-LCH | lch(34.44, 64.40, 294.26°) |
| OKLab | oklab(44.47% -0.0109 -0.1696) |
| OKLCH | oklch(44.47% 0.17 266.3) |
| XYZ | xyz(11.0262, 8.2192, 42.0712) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.72
Blue Blue
#2242C7
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848B0 #B09028
analogous
#288CB0 #2848B0 #4C28B0
triadic
#2848B0 #B02848 #48B028
tetradic
#2848B0 #B0288C #B09028 #28B04C
square
#2848B0 #B0288C #B09028 #28B04C
split-complementary
#2848B0 #B04C28 #8CB028
monochromatic
#111F4C #1D347E #2848B0 #4164D4 #738DDF
Accessibility & contrast
On white
7.94
#2848B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#2848B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848B0
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848B0 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2848b0; /* rgb */ color: rgb(40, 72, 176); /* oklch */ color: oklch(44.5% 0.170 266.3);
Tailwind
colors: {
custom: {
50: '#777ac8',
500: '#2848b0',
950: '#000000',
},
}SCSS
$custom: #2848b0; $custom-light: #777ac8; $custom-dark: #000000;
JSON
{
"hex": "#2848b0",
"rgb": {
"r": 40,
"g": 72,
"b": 176
},
"hsl": {
"h": 225.882,
"s": 62.963,
"l": 42.353
},
"oklch": {
"l": 0.44469,
"c": 0.16992,
"h": 266.3
},
"luminance": 0.0822
}Semantic roles & 50–950 ramp
primary
#2848B0
secondary
#C6B16D
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82