#2148C3#2148C3
#2148C3 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.197 H 265.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2148C3 |
|---|---|
| RGB | rgb(33, 72, 195) |
| HSL | hsl(226, 71%, 45%) |
| HSV | hsv(226, 83%, 76%) |
| CMYK | cmyk(83.1%, 63.1%, 0%, 23.5%) |
| CIE-LAB | lab(35.78, 33.02, -67.71) |
| CIE-LCH | lch(35.78, 75.33, 296.00°) |
| OKLab | oklab(45.9% -0.0159 -0.1961) |
| OKLCH | oklch(45.9% 0.197 265.4) |
| XYZ | xyz(12.7914, 8.8966, 52.6622) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.02
Blue (survey)
#0343DF
ΔE00 3.68
Cobalt
#0047AB
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2148C3 #C39C21
analogous
#2199C3 #2148C3 #4B21C3
triadic
#2148C3 #C32148 #48C321
tetradic
#2148C3 #C32199 #C39C21 #21C34B
square
#2148C3 #C32199 #C39C21 #21C34B
split-complementary
#2148C3 #C34B21 #99C321
monochromatic
#0F215A #18358F #2148C3 #4268DF #7792E8
Accessibility & contrast
On white
7.56
#2148C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2148C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2148C3
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2148C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2148C3 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC7
Deuteranopia (green-blind)
#004DC1
Tritanopia (blue-blind)
#00687F
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2148c3; /* rgb */ color: rgb(33, 72, 195); /* oklch */ color: oklch(45.9% 0.197 265.4);
Tailwind
colors: {
custom: {
50: '#7a7ad6',
500: '#2148c3',
950: '#000000',
},
}SCSS
$custom: #2148c3; $custom-light: #7a7ad6; $custom-dark: #000000;
JSON
{
"hex": "#2148c3",
"rgb": {
"r": 33,
"g": 72,
"b": 195
},
"hsl": {
"h": 225.556,
"s": 71.053,
"l": 44.706
},
"oklch": {
"l": 0.45898,
"c": 0.19671,
"h": 265.4
},
"luminance": 0.08898
}Semantic roles & 50–950 ramp
primary
#2148C3
secondary
#CFB871
accent
#C33AEE
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83