#1F7EB4#1F7EB4
#1F7EB4 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.118 H 239.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7EB4 |
|---|---|
| RGB | rgb(31, 126, 180) |
| HSL | hsl(202, 71%, 41%) |
| HSV | hsv(202, 83%, 71%) |
| CMYK | cmyk(82.8%, 30%, 0%, 29.4%) |
| CIE-LAB | lab(50.10, -7.36, -35.97) |
| CIE-LCH | lch(50.10, 36.72, 258.43°) |
| OKLab | oklab(56.61% -0.0594 -0.102) |
| OKLCH | oklch(56.61% 0.118 239.8) |
| XYZ | xyz(16.2609, 18.5063, 45.8862) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.65
Cerulean
#007BA7
ΔE00 3.83
Steel Blue
#4682B4
ΔE00 3.89
Water Blue
#0E87CC
ΔE00 4.16
Cerulean (survey)
#0485D1
ΔE00 4.38
Cool Blue
#4984B8
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7EB4 #B4551F
analogous
#1FB4A0 #1F7EB4 #1F34B4
triadic
#1F7EB4 #B41F7E #7EB41F
tetradic
#1F7EB4 #A01FB4 #B4551F #34B41F
square
#1F7EB4 #A01FB4 #B4551F #34B41F
split-complementary
#1F7EB4 #B41F34 #B4A01F
monochromatic
#0D354C #165980 #1F7EB4 #349FDC #68B8E5
Accessibility & contrast
On white
4.47
#1F7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#1F7EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F7EB4
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F7EB4 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647FB6
Deuteranopia (green-blind)
#5071B3
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #1f7eb4; /* rgb */ color: rgb(31, 126, 180); /* oklch */ color: oklch(56.6% 0.118 239.8);
Tailwind
colors: {
custom: {
50: '#75a3ca',
500: '#1f7eb4',
950: '#000000',
},
}SCSS
$custom: #1f7eb4; $custom-light: #75a3ca; $custom-dark: #000000;
JSON
{
"hex": "#1f7eb4",
"rgb": {
"r": 31,
"g": 126,
"b": 180
},
"hsl": {
"h": 201.745,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.56606,
"c": 0.118,
"h": 239.8
},
"luminance": 0.18508
}Semantic roles & 50–950 ramp
primary
#1F7EB4
secondary
#CB8964
accent
#7B3AED
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82