#1F78B4#1F78B4
#1F78B4 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.2% C 0.123 H 243.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F78B4 |
|---|---|
| RGB | rgb(31, 120, 180) |
| HSL | hsl(204, 71%, 41%) |
| HSV | hsv(204, 83%, 71%) |
| CMYK | cmyk(82.8%, 33.3%, 0%, 29.4%) |
| CIE-LAB | lab(48.28, -3.81, -38.84) |
| CIE-LCH | lch(48.28, 39.03, 264.40°) |
| OKLab | oklab(55.16% -0.054 -0.1104) |
| OKLCH | oklch(55.16% 0.123 243.9) |
| XYZ | xyz(15.5165, 17.0176, 45.6381) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.24
Bluish
#2976BB
ΔE00 2.44
Flat Blue
#3C73A8
ΔE00 3.60
Windows Blue
#3778BF
ΔE00 3.89
Muted Blue
#3B719F
ΔE00 3.95
Steel Blue
#4682B4
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F78B4 #B45B1F
analogous
#1FB4A6 #1F78B4 #1F2EB4
triadic
#1F78B4 #B41F78 #78B41F
tetradic
#1F78B4 #A61FB4 #B45B1F #2EB41F
square
#1F78B4 #A61FB4 #B45B1F #2EB41F
split-complementary
#1F78B4 #B41F2E #B4A61F
monochromatic
#0D324C #165580 #1F78B4 #3498DC #68B3E5
Accessibility & contrast
On white
4.77
#1F78B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#1F78B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F78B4
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F78B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F78B4 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7AB7
Deuteranopia (green-blind)
#476DB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #1f78b4; /* rgb */ color: rgb(31, 120, 180); /* oklch */ color: oklch(55.2% 0.123 243.9);
Tailwind
colors: {
custom: {
50: '#749ecb',
500: '#1f78b4',
950: '#000000',
},
}SCSS
$custom: #1f78b4; $custom-light: #749ecb; $custom-dark: #000000;
JSON
{
"hex": "#1f78b4",
"rgb": {
"r": 31,
"g": 120,
"b": 180
},
"hsl": {
"h": 204.161,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.55163,
"c": 0.12292,
"h": 243.9
},
"luminance": 0.1702
}Semantic roles & 50–950 ramp
primary
#1F78B4
secondary
#CB8D64
accent
#823AED
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82