#2848B3#2848B3
#2848B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.174 H 266.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2848B3 |
|---|---|
| RGB | rgb(40, 72, 179) |
| HSL | hsl(226, 63%, 43%) |
| HSV | hsv(226, 78%, 70%) |
| CMYK | cmyk(77.7%, 59.8%, 0%, 29.8%) |
| CIE-LAB | lab(34.68, 27.60, -60.09) |
| CIE-LCH | lch(34.68, 66.13, 294.67°) |
| OKLab | oklab(44.73% -0.0108 -0.1736) |
| OKLCH | oklch(44.73% 0.174 266.4) |
| XYZ | xyz(11.3263, 8.3392, 43.6518) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.98
Blue Blue
#2242C7
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 4.23
Sapphire (survey)
#2138AB
ΔE00 4.89
Blue (survey)
#0343DF
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2848B3 #B39328
analogous
#288DB3 #2848B3 #4D28B3
triadic
#2848B3 #B32848 #48B328
tetradic
#2848B3 #B3288D #B39328 #28B34D
square
#2848B3 #B3288D #B39328 #28B34D
split-complementary
#2848B3 #B34D28 #8DB328
monochromatic
#12204F #1D3481 #2848B3 #4365D5 #758EE0
Accessibility & contrast
On white
7.87
#2848B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2848B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2848B3
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2848B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2848B3 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2848b3; /* rgb */ color: rgb(40, 72, 179); /* oklch */ color: oklch(44.7% 0.174 266.4);
Tailwind
colors: {
custom: {
50: '#787acb',
500: '#2848b3',
950: '#000000',
},
}SCSS
$custom: #2848b3; $custom-light: #787acb; $custom-dark: #000000;
JSON
{
"hex": "#2848b3",
"rgb": {
"r": 40,
"g": 72,
"b": 179
},
"hsl": {
"h": 226.187,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.44728,
"c": 0.17396,
"h": 266.4
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#2848B3
secondary
#C8B36F
accent
#C041E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82