#2948C0#2948C0
#2948C0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.191 H 267.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2948C0 |
|---|---|
| RGB | rgb(41, 72, 192) |
| HSL | hsl(228, 65%, 46%) |
| HSV | hsv(228, 79%, 75%) |
| CMYK | cmyk(78.6%, 62.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.81, 32.58, -65.90) |
| CIE-LCH | lch(35.81, 73.51, 296.31°) |
| OKLab | oklab(45.92% -0.0099 -0.1906) |
| OKLCH | oklch(45.92% 0.191 267) |
| XYZ | xyz(12.7429, 8.9105, 50.9072) |
| Luminance | 0.0891 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.01
Blue (survey)
#0343DF
ΔE00 3.95
Cobalt
#0047AB
ΔE00 4.45
Sapphire
#0F52BA
ΔE00 4.73
Sapphire (survey)
#2138AB
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2948C0 #C0A129
analogous
#2993C0 #2948C0 #5529C0
triadic
#2948C0 #C02948 #48C029
tetradic
#2948C0 #C02993 #C0A129 #29C055
square
#2948C0 #C02993 #C0A129 #29C055
split-complementary
#2948C0 #C05529 #93C029
monochromatic
#13225B #1E358E #2948C0 #4D6AD9 #8094E4
Accessibility & contrast
On white
7.55
#2948C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2948C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2948C0
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2948C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2948C0 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#004DBE
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2948c0; /* rgb */ color: rgb(41, 72, 192); /* oklch */ color: oklch(45.9% 0.191 267.0);
Tailwind
colors: {
custom: {
50: '#7b7ad4',
500: '#2948c0',
950: '#000000',
},
}SCSS
$custom: #2948c0; $custom-light: #7b7ad4; $custom-dark: #000000;
JSON
{
"hex": "#2948c0",
"rgb": {
"r": 41,
"g": 72,
"b": 192
},
"hsl": {
"h": 227.682,
"s": 64.807,
"l": 45.686
},
"oklch": {
"l": 0.45918,
"c": 0.19089,
"h": 267
},
"luminance": 0.08912
}Semantic roles & 50–950 ramp
primary
#2948C0
secondary
#CCBB78
accent
#C540E8
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83