#1937B4#1937B4
#1937B4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.199 H 266.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1937B4 |
|---|---|
| RGB | rgb(25, 55, 180) |
| HSL | hsl(228, 76%, 40%) |
| HSV | hsv(228, 86%, 71%) |
| CMYK | cmyk(86.1%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(29.99, 37.82, -68.39) |
| CIE-LCH | lch(29.99, 78.15, 298.94°) |
| OKLab | oklab(41.15% -0.0135 -0.1983) |
| OKLCH | oklch(41.15% 0.199 266.1) |
| XYZ | xyz(10.0024, 6.2331, 43.8471) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.25
Blue Blue
#2242C7
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 6.12
Cobalt
#0047AB
ΔE00 6.22
Blue (survey)
#0343DF
ΔE00 6.32
Blueberry
#464196
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1937B4 #B49619
analogous
#1985B4 #1937B4 #4819B4
triadic
#1937B4 #B41937 #37B419
tetradic
#1937B4 #B41985 #B49619 #19B448
square
#1937B4 #B41985 #B49619 #19B448
split-complementary
#1937B4 #B44819 #85B419
monochromatic
#0A1649 #12277E #1937B4 #294DE1 #5F79E9
Accessibility & contrast
On white
9.35
#1937B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1937B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1937B4
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1937B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1937B4 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1937b4; /* rgb */ color: rgb(25, 55, 180); /* oklch */ color: oklch(41.1% 0.199 266.1);
Tailwind
colors: {
custom: {
50: '#766ecc',
500: '#1937b4',
950: '#000000',
},
}SCSS
$custom: #1937b4; $custom-light: #766ecc; $custom-dark: #000000;
JSON
{
"hex": "#1937b4",
"rgb": {
"r": 25,
"g": 55,
"b": 180
},
"hsl": {
"h": 228.387,
"s": 75.61,
"l": 40.196
},
"oklch": {
"l": 0.4115,
"c": 0.19875,
"h": 266.1
},
"luminance": 0.06234
}Semantic roles & 50–950 ramp
primary
#1937B4
secondary
#CDB75C
accent
#CE36F2
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0713
muted
#7C7A82