#1F7CB4#1F7CB4
#1F7CB4 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.120 H 241.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7CB4 |
|---|---|
| RGB | rgb(31, 124, 180) |
| HSL | hsl(203, 71%, 41%) |
| HSV | hsv(203, 83%, 71%) |
| CMYK | cmyk(82.8%, 31.1%, 0%, 29.4%) |
| CIE-LAB | lab(49.50, -6.19, -36.93) |
| CIE-LCH | lch(49.50, 37.45, 260.49°) |
| OKLab | oklab(56.12% -0.0576 -0.1048) |
| OKLCH | oklch(56.12% 0.12 241.2) |
| XYZ | xyz(16.0077, 17.9999, 45.8018) |
| Luminance | 0.1800 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.35
Bluish
#2976BB
ΔE00 3.96
Steel Blue
#4682B4
ΔE00 3.98
Cerulean
#007BA7
ΔE00 4.23
Cerulean (survey)
#0485D1
ΔE00 4.54
Water Blue
#0E87CC
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7CB4 #B4571F
analogous
#1FB4A2 #1F7CB4 #1F32B4
triadic
#1F7CB4 #B41F7C #7CB41F
tetradic
#1F7CB4 #A21FB4 #B4571F #32B41F
square
#1F7CB4 #A21FB4 #B4571F #32B41F
split-complementary
#1F7CB4 #B41F32 #B4A21F
monochromatic
#0D344C #165880 #1F7CB4 #349DDC #68B6E5
Accessibility & contrast
On white
4.56
#1F7CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#1F7CB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #1F7CB4
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7CB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##1F7CB4 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #1f7cb4; /* rgb */ color: rgb(31, 124, 180); /* oklch */ color: oklch(56.1% 0.120 241.2);
Tailwind
colors: {
custom: {
50: '#74a1ca',
500: '#1f7cb4',
950: '#000000',
},
}SCSS
$custom: #1f7cb4; $custom-light: #74a1ca; $custom-dark: #000000;
JSON
{
"hex": "#1f7cb4",
"rgb": {
"r": 31,
"g": 124,
"b": 180
},
"hsl": {
"h": 202.55,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.56123,
"c": 0.11955,
"h": 241.2
},
"luminance": 0.18002
}Semantic roles & 50–950 ramp
primary
#1F7CB4
secondary
#CB8B64
accent
#7E3AED
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82