#2848B6#2848B6
#2848B6 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.178 H 266.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2848B6 |
|---|---|
| RGB | rgb(40, 72, 182) |
| HSL | hsl(226, 64%, 44%) |
| HSV | hsv(226, 78%, 71%) |
| CMYK | cmyk(78%, 60.4%, 0%, 28.6%) |
| CIE-LAB | lab(34.93, 28.74, -61.46) |
| CIE-LCH | lch(34.93, 67.85, 295.06°) |
| OKLab | oklab(44.99% -0.0107 -0.1776) |
| OKLCH | oklch(44.99% 0.178 266.5) |
| XYZ | xyz(11.6330, 8.4619, 45.2671) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Cobalt
#0047AB
ΔE00 3.27
Sapphire
#0F52BA
ΔE00 4.28
Sapphire (survey)
#2138AB
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848B6 #B69628
analogous
#288FB6 #2848B6 #4F28B6
triadic
#2848B6 #B62848 #48B628
tetradic
#2848B6 #B6288F #B69628 #28B64F
square
#2848B6 #B6288F #B69628 #28B64F
split-complementary
#2848B6 #B64F28 #8FB628
monochromatic
#122052 #1D3484 #2848B6 #4566D6 #778FE1
Accessibility & contrast
On white
7.80
#2848B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#2848B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848B6
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848B6 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2848b6; /* rgb */ color: rgb(40, 72, 182); /* oklch */ color: oklch(45.0% 0.178 266.5);
Tailwind
colors: {
custom: {
50: '#797acd',
500: '#2848b6',
950: '#000000',
},
}SCSS
$custom: #2848b6; $custom-light: #797acd; $custom-dark: #000000;
JSON
{
"hex": "#2848b6",
"rgb": {
"r": 40,
"g": 72,
"b": 182
},
"hsl": {
"h": 226.479,
"s": 63.964,
"l": 43.529
},
"oklch": {
"l": 0.44989,
"c": 0.17797,
"h": 266.5
},
"luminance": 0.08463
}Semantic roles & 50–950 ramp
primary
#2848B6
secondary
#C9B571
accent
#C241E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82