#1948B4#1948B4
#1948B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.179 H 263.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1948B4 |
|---|---|
| RGB | rgb(25, 72, 180) |
| HSL | hsl(222, 76%, 40%) |
| HSV | hsv(222, 86%, 71%) |
| CMYK | cmyk(86.1%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.26, 26.67, -61.39) |
| CIE-LCH | lch(34.26, 66.93, 293.48°) |
| OKLab | oklab(44.3% -0.0211 -0.1776) |
| OKLCH | oklch(44.3% 0.179 263.2) |
| XYZ | xyz(10.9535, 8.1353, 44.1641) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.99
Sapphire
#0F52BA
ΔE00 3.58
Blue Blue
#2242C7
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1948B4 #B48519
analogous
#1996B4 #1948B4 #3719B4
triadic
#1948B4 #B41948 #48B419
tetradic
#1948B4 #B41996 #B48519 #19B437
square
#1948B4 #B41996 #B48519 #19B437
split-complementary
#1948B4 #B43719 #96B419
monochromatic
#0A1D49 #12337E #1948B4 #2961E1 #5F89E9
Accessibility & contrast
On white
7.99
#1948B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1948B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1948B4
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1948B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1948B4 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1948b4; /* rgb */ color: rgb(25, 72, 180); /* oklch */ color: oklch(44.3% 0.179 263.2);
Tailwind
colors: {
custom: {
50: '#747acb',
500: '#1948b4',
950: '#000000',
},
}SCSS
$custom: #1948b4; $custom-light: #747acb; $custom-dark: #000000;
JSON
{
"hex": "#1948b4",
"rgb": {
"r": 25,
"g": 72,
"b": 180
},
"hsl": {
"h": 221.806,
"s": 75.61,
"l": 40.196
},
"oklch": {
"l": 0.44302,
"c": 0.1789,
"h": 263.2
},
"luminance": 0.08137
}Semantic roles & 50–950 ramp
primary
#1948B4
secondary
#CDAB5C
accent
#B936F2
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82