#2748BA#2748BA
#2748BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.184 H 266.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2748BA |
|---|---|
| RGB | rgb(39, 72, 186) |
| HSL | hsl(227, 65%, 44%) |
| HSV | hsv(227, 79%, 73%) |
| CMYK | cmyk(79%, 61.3%, 0%, 27.1%) |
| CIE-LAB | lab(35.22, 30.15, -63.34) |
| CIE-LCH | lch(35.22, 70.15, 295.45°) |
| OKLab | oklab(45.3% -0.0115 -0.1832) |
| OKLCH | oklch(45.3% 0.184 266.4) |
| XYZ | xyz(12.0139, 8.6098, 47.4735) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.61
Cobalt
#0047AB
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 4.33
Blue (survey)
#0343DF
ΔE00 4.75
Sapphire (survey)
#2138AB
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2748BA #BA9927
analogous
#2792BA #2748BA #5027BA
triadic
#2748BA #BA2748 #48BA27
tetradic
#2748BA #BA2792 #BA9927 #27BA50
square
#2748BA #BA2792 #BA9927 #27BA50
split-complementary
#2748BA #BA5027 #92BA27
monochromatic
#122155 #1C3487 #2748BA #4667D8 #7990E3
Accessibility & contrast
On white
7.71
#2748BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#2748BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2748BA
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2748BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2748BA | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2748ba; /* rgb */ color: rgb(39, 72, 186); /* oklch */ color: oklch(45.3% 0.184 266.4);
Tailwind
colors: {
custom: {
50: '#797ad0',
500: '#2748ba',
950: '#000000',
},
}SCSS
$custom: #2748ba; $custom-light: #797ad0; $custom-dark: #000000;
JSON
{
"hex": "#2748ba",
"rgb": {
"r": 39,
"g": 72,
"b": 186
},
"hsl": {
"h": 226.531,
"s": 65.333,
"l": 44.118
},
"oklch": {
"l": 0.45301,
"c": 0.18353,
"h": 266.4
},
"luminance": 0.08611
}Semantic roles & 50–950 ramp
primary
#2748BA
secondary
#CBB772
accent
#C240E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82