#2B48C0#2B48C0
#2B48C0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.190 H 267.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B48C0 |
|---|---|
| RGB | rgb(43, 72, 192) |
| HSL | hsl(228, 63%, 46%) |
| HSV | hsv(228, 78%, 75%) |
| CMYK | cmyk(77.6%, 62.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.89, 32.78, -65.76) |
| CIE-LCH | lch(35.89, 73.48, 296.49°) |
| OKLab | oklab(46% -0.0083 -0.1902) |
| OKLCH | oklch(46% 0.19 267.5) |
| XYZ | xyz(12.8247, 8.9526, 50.9111) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.99
Blue (survey)
#0343DF
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.60
Sapphire
#0F52BA
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B48C0 #C0A32B
analogous
#2B92C0 #2B48C0 #582BC0
triadic
#2B48C0 #C02B48 #48C02B
tetradic
#2B48C0 #C02B92 #C0A32B #2BC058
square
#2B48C0 #C02B92 #C0A32B #2BC058
split-complementary
#2B48C0 #C0582B #92C02B
monochromatic
#15225C #20358E #2B48C0 #506BD8 #8295E3
Accessibility & contrast
On white
7.52
#2B48C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2B48C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B48C0
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B48C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B48C0 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#004EBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2b48c0; /* rgb */ color: rgb(43, 72, 192); /* oklch */ color: oklch(46.0% 0.190 267.5);
Tailwind
colors: {
custom: {
50: '#7c7ad4',
500: '#2b48c0',
950: '#000000',
},
}SCSS
$custom: #2b48c0; $custom-light: #7c7ad4; $custom-dark: #000000;
JSON
{
"hex": "#2b48c0",
"rgb": {
"r": 43,
"g": 72,
"b": 192
},
"hsl": {
"h": 228.322,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.46001,
"c": 0.19037,
"h": 267.5
},
"luminance": 0.08954
}Semantic roles & 50–950 ramp
primary
#2B48C0
secondary
#CCBC7B
accent
#C641E6
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83