#2B48B5#2B48B5
#2B48B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.176 H 267.3°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48B5 |
|---|---|
| RGB | rgb(43, 72, 181) |
| HSL | hsl(227, 62%, 44%) |
| HSV | hsv(227, 76%, 71%) |
| CMYK | cmyk(76.2%, 60.2%, 0%, 29%) |
| CIE-LAB | lab(34.97, 28.68, -60.80) |
| CIE-LCH | lch(34.97, 67.22, 295.26°) |
| OKLab | oklab(45.03% -0.0082 -0.1756) |
| OKLCH | oklch(45.03% 0.176 267.3) |
| XYZ | xyz(11.6512, 8.4832, 44.7305) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.07
Cobalt
#0047AB
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48B5 #B5982B
analogous
#2B8DB5 #2B48B5 #532BB5
triadic
#2B48B5 #B52B48 #48B52B
tetradic
#2B48B5 #B52B8D #B5982B #2BB553
square
#2B48B5 #B52B8D #B5982B #2BB553
split-complementary
#2B48B5 #B5532B #8DB52B
monochromatic
#142152 #1F3484 #2B48B5 #4966D4 #7B90E0
Accessibility & contrast
On white
7.79
#2B48B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2B48B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48B5
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48B5 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2b48b5; /* rgb */ color: rgb(43, 72, 181); /* oklch */ color: oklch(45.0% 0.176 267.3);
Tailwind
colors: {
custom: {
50: '#797acc',
500: '#2b48b5',
950: '#000000',
},
}SCSS
$custom: #2b48b5; $custom-light: #797acc; $custom-dark: #000000;
JSON
{
"hex": "#2b48b5",
"rgb": {
"r": 43,
"g": 72,
"b": 181
},
"hsl": {
"h": 227.391,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.4503,
"c": 0.17583,
"h": 267.3
},
"luminance": 0.08485
}Semantic roles & 50–950 ramp
primary
#2B48B5
secondary
#C8B674
accent
#C343E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82